needd help with commands...

02/25/2012 07:47 hathaway#1
i downloaded the 5517 client and source but for some reason like half of the gm commands work.
this is a list of commands i guess i have
// GM commands
{ "/systime", Command_SystemTime },
{ "/locate", Command_Locate },
{ "/mapobj", Command_MapObjects },
{ "/mapinfo", Command_MapInfo },
{ "/item", Command_Item },
{ "/finditem", Command_ItemSearch },
{ "/map", Command_ChangeMap },
{ "/teleport", Command_Teleport },
{ "/update", Command_UpdatePacket },
{ "/prof", Command_Prof },
{ "/skill", Command_Skill },
{ "/activate", Command_Activate },
{ "/testnpc", Command_TestNpc },
{ "/addnpc", Command_AddNpc },
{ "/deletenpc", Command_RemoveNpc },
{ "/testmob", Command_TestMob },
{ "/addspawn", Command_AddSpawn },
{ "/set", Command_Set },
{ "/goto", Command_Goto },
{ "/call", Command_Call },
{ "/heal", Command_Heal },
{ "/mob", Command_Mob },
{ "/table", Command_Table },
{ "/addtitle", Command_AddTitle },
{ "/expball", Command_ExpBall },
{ "/freeze", Command_Freeze },
{ "/infect", Command_Infect },
{ "/irc", Command_Irc },
{ "/broadcast", Command_Broadcast },
{ "/nobility", Command_Nobility },
{ "/statustest", Command_StatusTest },
the format makes no sense to me and does anyone have a good list of commands i could get off them? and instructions on how to edit or change them, ive been searching for hours and cant find anything
02/25/2012 07:58 corbit15#2
make sure your character is a GM first of all. and if you right click on the command i.e Command_Item and click go to defenition it will take you to the defenition and tell you how to use the command
02/25/2012 09:31 pro4never#3
It's a simple way to know all of the commands right from the top of the file. You then f12 the one you want or right click>go to definition to view the entire code behind the method.

To use gm commands you need permission 5 in accounts database.

Look at the full command method to see what inputs it requires.
02/26/2012 05:08 hathaway#4
i tried this... when i right click in go to definition is not an availability option, it wont let me click it, f12 doesn't work either, im using c# to view it BTW
02/26/2012 05:08 hathaway#5
EDIT

accidentally double posted
02/26/2012 05:38 pro4never#6
Make sure you're opening the entire project file. What version of visual studio? I did all my coding in visual studio 2010 ultimate.
02/26/2012 05:42 hathaway#7
Microsoft visual c# 2010 express and how do i know if im opening the entire project file?
02/26/2012 06:13 pro4never#8
You should be opening the project not single .cs files... therefor you have solution explorer to view the entire source code heirarchy.

Note: did you rightclick what's inside the quotes? that's wrong. You must rightclick the actual method name.
02/26/2012 06:19 hathaway#9
ya i was opening the .cs file... the server is actually my friends he downloaded the source from one of your posts and im just trying to figure out why commands dont work in the server, i was then told to open the file and right click and so on but having no luck at all, how do i open it as a whole project?
02/26/2012 07:26 corbit15#10
open the file that says Albetros when you first open the Albetros folder.
02/26/2012 07:57 pro4never#11
should be .sln or .csproj or something like that. You NEVER open individual class files when working with code.
02/26/2012 08:16 corbit15#12
Quote:
Originally Posted by pro4never View Post
should be .sln or .csproj or something like that. You NEVER open individual class files when working with code.
yeah it's .sln

never tried opening through .csproj though
02/26/2012 16:30 hathaway#13
ok i got it, but it didn't help at all. im trying to see like examples of what the commands look like when typed, i can only do a few commands such as /revive /heal /goto. there are no commands for lvling or especially gear. is there something im missing?
02/26/2012 16:42 Kiyono#14
Quote:
Originally Posted by hathaway View Post
ok i got it, but it didn't help at all. im trying to see like examples of what the commands look like when typed, i can only do a few commands such as /revive /heal /goto. there are no commands for lvling or especially gear. is there something im missing?
You are since there is a command for gear, not sure about leveling though.
02/26/2012 16:54 hathaway#15
there's the /xp thing but not sure what it does, there's also a lot more that i dont understand what they do, and i seen the gear one but every time i try it it says invalid item, do i need to type the item name out? or use a code for the item

ok you need the item id number, got it working, but for some reason when i set up the database through navicat i set up my database but when i go to execute the back up it just gives me 46,000 errors, not sure whats going on but cant figure it out at all lol