- Dec 1, 2003
- 1,806
- 2
- 165
A Feature often Overlooked in 3G serve files, in the CD.INI you will see @_Newcommand1 and above this the command - I will show you how to add in some new stuff and idea of what you can use this for...
CruelDragon.INI
In there we have:
Where it says NewOrder1/2/3 is where you can overwrite this with the Name of your CHoice, as I have done with Witch. Now in game on Any char you can type @witch and it runs that command.
Envir\Market_Def\00Default.txt
In here we have:
This jumps off to :
\Envir\QuestDiary\HLSCRIPT\CruelDragonMir3G.txt
And in here we find:
What Can I do with this though??
Well in my Example (do not use this by the way), the user type @witch and it summons a pet Witch level 3 for 7 hours. If they type it again, it says "You already have a Pet". You could for example check if they are wearing a ring (or any item) or have something in there bag before it Summons it - a bit like HolyDeva but for All Classes. You can check there Job (tao) if you only wanted Taos to have this - the list goes on & On bascially.
Have fun with this..
CruelDragon.INI
In there we have:
Code:
ÃüÁî1=NewOrder1
ȨÏÞ1=0
񈧏1=@_NewCommand1
ÃüÁî2=witch
ȨÏÞ2=0
񈧏2=@_NewCommand2
ÃüÁî3=NewOrder3
ȨÏÞ3=0
񈧏3=@_NewCommand3
Where it says NewOrder1/2/3 is where you can overwrite this with the Name of your CHoice, as I have done with Witch. Now in game on Any char you can type @witch and it runs that command.
Envir\Market_Def\00Default.txt
In here we have:
Code:
[@_NewCommand1]
#IF
#ACT
goto @CruelDragonMir3G4
[@CruelDragonMir3G4]
#CALL [HLSCRIPT\CruelDragonMir3G.txt] @Mir3G_4
[@_NewCommand2]
#IF
#ACT
goto @CruelDragonMir3G5
[@CruelDragonMir3G5]
#CALL [HLSCRIPT\CruelDragonMir3G.txt] @Mir3G_5
[@_NewCommand3]
#IF
#ACT
goto @CruelDragonMir3G6
[@CruelDragonMir3G6]
#CALL [HLSCRIPT\CruelDragonMir3G.txt] @Mir3G_6
This jumps off to :
\Envir\QuestDiary\HLSCRIPT\CruelDragonMir3G.txt
And in here we find:
Code:
[@MIR3G_4]
{
#IF
#ACT
#SAY
Please input your solution to lock the password, carries on character's solution lock\
Under the fixed condition, how won't you be able to do operate\
1.Walks\
2.Moves\
3.Attack\
4.Throws\
5.Black magic\
6.Chats\
7.Use goods\
8.Throws the goods\
9.Transaction\
<Input password/@@*11_Input_PassWord>\
[@@*11_Input_PassWord]
#IF
#ACT
mov A0 %PASSWD(9)
mov A1 %INPUTSTR
#IF
equal A0 %A1
#ACT
HLSCRIPTCMD UNLOCKUSER
#SAY
{FCOLOR/10}The password is correct, your character already solved the lock.{FCOLOR/12}\\
<Exit/@exit>\\
#ELSESAY
{FCOLOR/1}Password mistake.{FCOLOR/12}\ \
<Exit/@exit>
}
}
[@MIR3G_5]
{
#IF
checkmonrecall
#ACT
monrecall Witch 7 3
#ELSESAY
You already have a Pet out..\\
<Exit/@exit>\
}
[@MIR3G_6]
{
#if
#say
Uses @NewOrder3 Command\
<Exit/@exit>\
}[/LEFT]
What Can I do with this though??
Well in my Example (do not use this by the way), the user type @witch and it summons a pet Witch level 3 for 7 hours. If they type it again, it says "You already have a Pet". You could for example check if they are wearing a ring (or any item) or have something in there bag before it Summons it - a bit like HolyDeva but for All Classes. You can check there Job (tao) if you only wanted Taos to have this - the list goes on & On bascially.
Have fun with this..
