Jump to content

Welcome to Gaming On Steroids Forums
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

>_> questions :p


  • Please log in to reply
25 replies to this topic

#1
FreeCandy2012

FreeCandy2012

    Member

  • Members
  • 18 posts
  • LocationOn the end, last door to your - left.

first I'd love to check out Dev chat level two, don't really understand the need for the password though.

Also, is there anything Like GetLatency() that was not mentioned in the API?  


  • 0

#2
Nivo

Nivo

    What is script?

  • Ex-Staff
  • PipPipPip
  • 503 posts
  • LocationBadmanville

https://gyazo.com/8a...a84f98b62664293
http://www.nebelwolf...?page=api&api=1 :ResidentSleeper:

Developer level 2 is where we keep all the 1337 exploitz :illuminati: , but seriously, it was made so that devs can share their ideas and talk to eachother without getting asked questions about their scripts, there is nothing important going on there to be honest.


  • 1

#3
ButterSmooth

ButterSmooth

    Advanced Member

  • Members
  • 710 posts

first I'd love to check out Dev chat level two, don't really understand the need for the password though.

Also, is there anything Like GetLatency() that was not mentioned in the API?


local mypingval = GetLatency(); --returns an integer with the value of our ping ingame

? Was it me ? :thugdoge:
  • 0

#4
FreeCandy2012

FreeCandy2012

    Member

  • Members
  • 18 posts
  • LocationOn the end, last door to your - left.

Developer level 2 is where we keep all the 1337 exploitz :illuminati: , but seriously, it was made so that devs can share their ideas and talk to eachother without getting asked questions about their scripts, there is nothing important going on there to be honest.


You say that while posting the illumi icon.. right. lol
Is there anything I could do to get in there?   


  • 0

#5
Nivo

Nivo

    What is script?

  • Ex-Staff
  • PipPipPip
  • 503 posts
  • LocationBadmanville

You say that while posting the illumi icon.. right. lol
Is there anything I could do to get in there?   

You need one of the developer ranks or be a mod. To get the developer rank you need to be a developer Keppo


  • 0

#6
FreeCandy2012

FreeCandy2012

    Member

  • Members
  • 18 posts
  • LocationOn the end, last door to your - left.

lol, ok.   How might I go about qualifying for Developer status?


  • 0

#7
Deftsu

Deftsu

    donthackourgames

  • Ex-Core Dev
  • PipPipPip
  • 4,812 posts

lol, ok.   How might I go about qualifying for Developer status?


some Quality work ^^
  • 0

#8
ce1011

ce1011

    Member

  • Members
  • 17 posts

If i learn C# ,Will I know how to create lua too?


  • 0

#9
FreeCandy2012

FreeCandy2012

    Member

  • Members
  • 18 posts
  • LocationOn the end, last door to your - left.

Well I don't believe in working blind.   I understand that something of quality is needed, but surely you know that quality is in the eye of the beholder.  
I'd gladly offer my know how - or 'help' in furthering, anything GOS related, but I do not know what is needed other than some basic scripts.  
With that on the table, it must also be stated... <_< we're talking about getting 'Developer', not "scripter" lol. They're two very different things.    


  • 0

#10
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

Well I don't believe in working blind.   I understand that something of quality is needed, but surely you know that quality is in the eye of the beholder.  
I'd gladly offer my know how - or 'help' in furthering, anything GOS related, but I do not know what is needed other than some basic scripts.  
With that on the table, it must also be stated... <_< we're talking about getting 'Developer', not "scripter" lol. They're two very different things.    

make a evade script, i 100% sure you can get the "purple" Doge


  • 0

#11
Inspired

Inspired

    Took the red pill.

  • Ex-Core Dev
  • PipPipPip
  • 723 posts
  • LocationWonderland

lol, ok.   How might I go about qualifying for Developer status?

just copy code of other people, paste it into one script, give credits and say you "updated" it, like some other dev's here.


  • 3

#12
Platypus

Platypus

    Bitcoin and Paysafecard payments are now available

  • Banned
  • PipPipPip
  • 1,289 posts

http://www.myvideo.d...video-m-9174074


  • 0

#13
Darkness

Darkness

    GoSDB's manager

  • Banned
  • PipPipPip
  • 1,137 posts

Make this :thugdoge:

then you can get into core dev Kappa


  • 0

#14
Elbard

Elbard

    Member

  • Members
  • 28 posts
Hi guys!
 
Can someone explain how this works?
 
    for i, v in pairs(t) do
        if member and v[member] == what or v == what then return i, v end
    end
 
If member :
If v[member] == what: we return -> i
If v == what: we return -> v

Or it works in some other way?
  • 0

#15
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

Hi guys!
 
Can someone explain how this works?
 

    for i, v in pairs(t) do
        if member and v[member] == what or v == what then return i, v end
    end
 
If member :
If v[member] == what: we return -> i
If v == what: we return -> v

Or it works in some other way?

 

or just don't write code like this....readable >>>> cool 


  • 0

#16
Elbard

Elbard

    Member

  • Members
  • 28 posts
I am trying to learn. This is example from Inspired library. I am still expecting someone to help with the code above. I also have question about this :
function table.copy(from, deepCopy)
  if type(from) == "table" then
    local to = {}
    for k, v in pairs(from) do
      if deepCopy and type(v) == "table" then to[k] = table.copy(v)
      else to[k] = v
      end
    end
    return to
  end
end 

As I understood deepCopy needed in case you have table(a) inside table(1). And if you don't make a copy of inside table(a) it will be a copy of a table(2) with a reference to a table(a) that was inside first table(1). But.... what if a table(1) have a table(T) inside table (a)? Will the deepCopy go to all levels, or copy just the first one below?
  • 0

#17
Inspired

Inspired

    Took the red pill.

  • Ex-Core Dev
  • PipPipPip
  • 723 posts
  • LocationWonderland

Hi guys! Can someone explain how this works?

for i, v in pairs(t) do        if member and v[member] == what or v == what then return i, v end    end
If member :If v[member] == what: we return -> iIf v == what: we return -> vOr it works in some other way?
if either == what then we return both, i and v

I am trying to learn. This is example from Inspired library. I am still expecting someone to help with the code above. I also have question about this :

function table.copy(from, deepCopy)  if type(from) == "table" then    local to = {}    for k, v in pairs(from) do      if deepCopy and type(v) == "table" then to[k] = table.copy(v)      else to[k] = v      end    end    return to  endend
As I understood deepCopy needed in case you have table(a) inside table(1). And if you don't make a copy of inside table(a) it will be a copy of a table(2) with a reference to a table(a) that was inside first table(1). But.... what if a table(1) have a table(T) inside table (a)? Will the deepCopy go to all levels, or copy just the first one below?
this will only copy the first table inside of it, if you really want a deep copy you'd have to change it to table.copy(v, true) but that would probably give a stack overflow in most cases
  • 0

#18
Elbard

Elbard

    Member

  • Members
  • 28 posts

if either == what then we return both, i and v

Thanks! :)

How do I catch this returns then? It will be something like....
local i = nil
local v = nil

i, v = theFunc()
?

this will only copy the first table inside of it, if you really want a deep copy you'd have to change it to table.copy(v, true) but that would probably give a stack overflow in most cases

Why will it be stack overflow? :o
  • 0

#19
Inspired

Inspired

    Took the red pill.

  • Ex-Core Dev
  • PipPipPip
  • 723 posts
  • LocationWonderland

local i = nil
local v = nil

i, v = theFunc()

you can also do:
local i, v = theFunc()

Why will it be stack overflow? :o

because it's too deep recursive... https://docs.oracle....rflowError.html
  • 0

#20
redhathacker

redhathacker

    Newbie

  • Members
  • 1 posts

Can someone tell me what IOW object is and why would it be null? How can I instantiate it? I didnt see a declaration or assignment anywhere in any code I have seen.

 

Thanks


  • 0




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users