Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
adding new commands...
#1
if i wanted to add. say this viewtopic.php?f=75&t=2887 would i add it to any module or a specific one?
Reply
#2
Yes that would go in any Module in the Client Side. I would put it either in ModGameLogic or either ModGeneral.
Reply
#3
thanks
Reply
#4
No problem Smile
Reply
#5
Looks more like a server side function to me.
Reply
#6
im sure of it being client side. =)
Reply
#7
It's server side. He remade the TakeItem code. Which is server side, since the client doesn't deal with the account files. Tongue
Reply
#8
can you call this from the client if i pasted it to the server?
Reply
#9
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.
Reply
#10
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?
Reply
#11
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
Reply
#12
Jack Wrote:im sure of it being client side. =)

orly? :roll:
Reply
#13
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:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#14
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?
Reply
#15
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))
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)