• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

New Commands

Newbie Spellweaver
Joined
Sep 13, 2007
Messages
23
Reaction score
0
Hey.

How can I make new commands for the source LOTF or ShadowCO?

Thanks in Advance (and don't flame).
 
C# Developer
Joined
Jan 27, 2008
Messages
541
Reaction score
12
my advice is is to use control + f and search for /level, look at the code, its really easy to read...
 
Newbie Spellweaver
Joined
Sep 13, 2007
Messages
23
Reaction score
0
Found It, Thanks.

I'm looking foward to create a /mob [MOB ID] command type, that makes you be a mob. Can you explain to me how to create it since I don't get where things come from, and yes I understand and can read C#.

I suppose, it's just like the /model command all I need to change is ID right?

if (Splitter[0] == "/model")
{
if (Splitter[1] == "smale")
MyChar.Model = 1003;
if (Splitter[1] == "lmale")
MyChar.Model = 1004;
if (Splitter[1] == "sfemale")
MyChar.Model = 2001;
if (Splitter[1] == "lfemale")
MyChar.Model = [2002;
 
Newbie Spellweaver
Joined
Jul 14, 2008
Messages
72
Reaction score
0
Yeah that should do it.
Dont see anything wrong with that code.
GL
 
Elite Diviner
Joined
Jan 11, 2008
Messages
405
Reaction score
0
maybe becuse he copyed that why there nothing worng with it lmao
 
Rival Gamers Owner
Loyal Member
Joined
Jul 7, 2007
Messages
962
Reaction score
161
if u make new commands u do have to mychar.model {
whats it gun do
 
Newbie Spellweaver
Joined
Jul 30, 2008
Messages
15
Reaction score
0
sorry for asking but does anyone know what the command is to scroll to different cities.....recall all players and drop dbs.....cant seem to find them
 
Newbie Spellweaver
Joined
Jul 30, 2008
Messages
15
Reaction score
0
errm thanks but never mind i think i was drunk when i posted that
 
Back
Top