01-08-2008, 04:15 AM
if i wanted to add. say this viewtopic.php?f=75&t=2887 would i add it to any module or a specific one?
adding new commands...
|
01-08-2008, 04:15 AM
if i wanted to add. say this viewtopic.php?f=75&t=2887 would i add it to any module or a specific one?
02-08-2008, 12:33 AM
Yes that would go in any Module in the Client Side. I would put it either in ModGameLogic or either ModGeneral.
02-08-2008, 01:12 AM
thanks
02-08-2008, 02:55 AM
No problem
![]()
02-08-2008, 06:00 AM
Looks more like a server side function to me.
02-08-2008, 11:19 AM
im sure of it being client side. =)
02-08-2008, 12:34 PM
It's server side. He remade the TakeItem code. Which is server side, since the client doesn't deal with the account files.
![]()
02-08-2008, 03:37 PM
can you call this from the client if i pasted it to the server?
02-08-2008, 03:55 PM
You gotta use the client to send a packet to the server, have the server execute that code, and send a packet back to the client with the results.
03-08-2008, 04:44 AM
i know how to send/ recieve packets but whats an example of what you are saying, like would i paste the code in the client.. then call it in a packet or like what?
03-08-2008, 06:09 AM
oh ok then, and sorry by copy and paste i ment installing. i just had to type quick and couldent think of another way to put it
03-08-2008, 04:59 PM
Jack Wrote:im sure of it being client side. =) orly? :roll:
05-08-2008, 12:09 PM
Jack, Rian knows more about programming than you ;D
Sure, the actual keystroke hooking is in the client, but the command's consequences are all handled by the server. Quote:Robin:
05-08-2008, 05:18 PM
so if the warp command is Call WarpTo(n) then is there another warp command that i can use to warp to a specific x and y?
05-08-2008, 05:23 PM
PlayerWarp(index, map, x, y)
Thats the only kind of warp sub that exists. Warping to a different player would be PlayerWarp(index, getplayermap(n), getplayerX(n), getplayerY(n)) |
« Next Oldest | Next Newest »
|