![]() |
Account warper
how can you warp an account with an npc without npcserver like on non-p2p servers..
so when you say warp player jimmy server-1.graal 30 30 it would warp account jimmy to server-1.graal x30 y30 |
Try looking into tokenize and server strings
|
Ummmm
Im not entirely sure that will even work. That is like basically trying to do a warpto. Warpto is a special thing on certain rc's, and you cant do tokens or strings to do warpto on graal. Its been tried. You can, however, use server strings and a set location to warp them such as:
For the person warping: if(startswith(warp,#c)){ tokenize #c; setstring server.lalala,#t(1); } For the person to be warped: if(strequals(#a,#s(server.lalala))){ setlevel2 thislevel.nw,30,30; setstring server.lalala,; } Now, that MIGHT work. Not sure if it will or not. Try it. |
Think before you speak
You can make warpto.I alreay made it.Its pretty cool and the script isn't that hard.
|
For warping a player (like an account) you would need NPC Server for getplayer. Warpto is very easy. ;\
|
Quote:
|
I WUB KELLY !!!!!!!!!!!!!!!!!!
|
here we go:
for the guy who warpes (Staff) if(playerchats && startswith(warp,#c)){ tokenize #c; setstring server.warping,#t(1) #t(2) #t(3) #t(4); //Account Level x Y } for the guy who gets warped: if(playerenters || timeout){ if(!hasweapon(-warping)){toweapons -warping;} if(startswith(#a,#s(server.warping))){ tokenize #s(server.warping); setstring server.warping,; setlevel2 #t(1),strtofloat(#t(2)),strtofloat(#t(3)); } timeout=.05; } should work. It's used like u wanted it... |
Quote:
|
If you're not P2P just use RC.
|
Quote:
Well, that depends. It gets less easy if you actually want it to work. You can't use getplayer directly from a weapon. [/Kaimetsu] |
it was just an example but grim is right... use rc
|
That last post i saw is the best...
There are a few possible better ways, like i like to have separate server variables set, i know setting them lags the server, but that way if one does not get killed out of lag, you can make it so it is a list, it works very well... :-)
--PastAustin (A lot easier on npc server) |
Quote:
what about with people with spaces in their account ? :-D |
Quote:
warp "Account with spaces" level x y this works too I have tested it ;b |
Quote:
|
warpto player is easy too ;)
|
| All times are GMT +2. The time now is 03:43 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.