Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-02-2007, 12:12 AM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
SendText / RequestText Parameters!

Here are a bunch of requesttext parameters for you!:

NAME: clientrc
PARAM: INTEGER 0 (To shut down ClientRC) / 1 (To start ClientRC)
CLIENTRC: No
[I]DESC: This runs ClientRC. It will only start if you have rights to the server and your IP is the same as in the rights window.

NAME: list
PARAM: NULL
CLIENTRC: No
DESC: Doesn't seem to do anything on regular scripts. It should return the server list as an array.

NAME: simplelist
PARAM: NULL
CLIENTRC: No
DESC: Simpler version of 'list'.

NAME: upgradeinfo
PARAM: NULL
CLIENTRC: No
DESC: Should return the upgrade information for the current player, but doesn't seem to do anything . . .

NAME: bantypes
PARAM: NULL
CLIENTRC: Yes
DESC: Should return the ban types for players, but like the others, it doesn't return anything

NAME: localbans
PARAM: NULL
CLIENTRC: Yes
DESC: Returns the local bans of the server, But doesn't seem to return anything when I test it.

NAME: pmservers
PARAM: NULL
CLIENTRC: No
DESC: Returns all the servers listed on Login.

NAME: pmserverplayers
PARAM: STRING servername
CLIENTRC: No
DESC: I think it returns an array of players? It doesn't seem to do anything when I tested it . . .

NAME: pmunmapserver
PARAM: STRING servername
CLIENTRC: No
DESC: No clue? =]?

NAME: pmguilds
PARAM: NULL
CLIENTRC: No
DESC: It returns all the guilds in the GuildList in the playerlist window.

NAME: pmguildplayers
PARAM: STRING guild
CLIENTRC: No
DESC: When I test it, It did nothing. I think its supposed to return an array of all the people in said guild.

NAME: pmunmapguild
PARAM: STRING guild
CLIENTRC: No
DESC: No clue =]

NAME: weaponlist
PARAM: NULL
CLIENTRC: Yes
DESC: Returns an array of all the weapons on the server!

NAME: classlist
PARAM: NULL
CLIENTRC: Yes
DESC: Returns an array of all the classes on the server!

NAME: npclist
PARAM: NULL
CLIENTRC: Yes
DESC: Returns an array of all the NPCs on the server!

NAME: weapon
PARAM: STRING weaponname
CLIENTRC: Yes
DESC: Returns an array of the contents of the weapon.

NAME: class
PARAM: STRING classname
CLIENTRC: Yes
DESC: Returns an array of the contents of the class.

NAME: npc
PARAM: STRING npcname / INT npcid
CLIENTRC: Yes
DESC: Returns an array of the contents of the NPC.

NAME: npcflags
PARAM: STRING npcname / INT npcid
CLIENTRC: Yes
DESC: Returns an array with all the flags assigned to the NPC "npcname".

NAME: options
PARAM: NULL
CLIENTRC: Yes
DESC: Returns an array of the server options.

NAME: folderconfig
PARAM: NULL
CLIENTRC: Yes
DESC: Returns an array that contains the contents of the Folder Configuration.

NAME: serverflags
PARAM: NULL
CLIENTRC: Yes
DESC: Returns an array that contains the contents of the Server Flags.

NAME: folders
PARAM: NULL
CLIENTRC: Yes
DESC: Returns an array with all the folders of the server, if it is a node (folder/subfolder), it returns as ",folder/subfolder,". Simple enough.

NAME: folder
PARAM: STRING foldername
CLIENTRC: Yes
DESC: Returns an array of the folder contents, which itself is an array which contains the file's name, the rights to the file, the size, and the date last edited.

NAME: rights
PARAM: STRING accountname
CLIENTRC: Yes
DESC: Returns an array of the rights of the player "accountname".

NAME: comments
PARAM: STRING accountname
CLIENTRC: Yes
DESC: Returns an array of the comments of the player "accountname".

NAME: playerflags
PARAM: STRING accountname
CLIENTRC: Yes
DESC: Returns an array that contains the flags of the player "accountname".

NAME: playerweapons
PARAM: STRING accountname
CLIENTRC: Yes
DESC: Returns an array that contains the weapons of the player "accountname".

NAME: playerchests
PARAM: STRING accountname
CLIENTRC: Yes
DESC: Returns an array that contains the chests opened of the player "accountname".

NAME: playerattributes
PARAM: STRING accountname
CLIENTRC: Yes
DESC: Returns an array that contains the attributes of the player "accountname".


Next Post: SENDTEXT

Note: All parameters marked with "CLIENTRC: Yes" are if you have ClientRC running, which requires rights to the server and requires the IPs to match.

Thanks to Skyld for posting
this stuff in the first place! xD <-- All I did was copy and paste, and post a few more comments to the end.
__________________
What signature? I see no signature?

Last edited by godofwarares; 02-02-2007 at 09:44 PM..
Reply With Quote
  #2  
Old 02-02-2007, 12:16 AM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
Sendtext parameters:

NAME: adminmessage
PARAM: INT playerid, STRING message
CLIENTRC: Yes
DESC: Sends an admin message to the player who's ID is "playerid".

NAME: disconnect
PARAM: INT playerid, STRING reason
CLIENTRC: Yes
DESC: Disconnects the player with the ID "playerid" with the reason "reason".

NAME: resetnpc
PARAM: STRING name / INT id, NULL
CLIENTRC: Yes
DESC: Resets an NPC

NAME: deleteweapon
PARAM: STRING name, NULL
CLIENTRC: Yes
DESC: Deletes a weapon

NAME: deleteclass
PARAM: STRING name, NULL
CLIENTRC: Yes
DESC: Deletes a class

NAME: deletenpc
PARAM: STRING name, NULL
CLIENTRC: Yes
DESC: Deletes an NPC

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Enjoy! =]

PM me for any errors you'd like me to fix.




-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Thanks to Skyld for posting
this stuff in the first place! xD
__________________
What signature? I see no signature?

Last edited by godofwarares; 02-02-2007 at 12:29 AM..
Reply With Quote
  #3  
Old 02-02-2007, 12:26 AM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by godofwarares View Post
These are the ones that i've found:
http://skyld.vip.graal.net/wikka.php...verRequestData

You've posted essentially what's there?

Also, things like pmunmapserver and such are instructions for manipulating the playerlist (probably the allplayers[] array); they are not returning values I do not think.
__________________
Skyld
Reply With Quote
  #4  
Old 02-02-2007, 12:29 AM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
Alright, I'm making a few edits to them right now, And I think I should add a creditary note on both posts . . .
__________________
What signature? I see no signature?
Reply With Quote
  #5  
Old 02-02-2007, 08:57 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
You do know that you have to have rights and a matching IP to be able to do these things?
__________________
Do it with a DON!
Reply With Quote
  #6  
Old 02-02-2007, 10:15 AM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by zokemon View Post
You do know that you have to have rights and a matching IP to be able to do these things?
For the ones saying "CLIENTRC: Yes".
__________________
Skyld
Reply With Quote
  #7  
Old 02-02-2007, 10:42 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by Skyld View Post
For the ones saying "CLIENTRC: Yes".
Ahh. Right.
__________________
Do it with a DON!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:47 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.