[How-To]Complete CMD-System (grade PLAYER fix)

01/26/2012 02:18 lollo_9_1#1
Hi guys, I'm Italian and I don't speak perfectly English. (sorry for my bad english) [Only registered and activated users can see links. Click Here To Register...]

System-CMD, what is it?
It's a invented name by me that runs around the CMD file (read by CONFIG, upper cases!) and corresponds to a series of edits that can speed up the use of the CMD and to do a simply symlinked CMD in all 'subgames' folders.

CMD file, what the hell?
The CMD is a file that is used to set the grades to commands (alternative -> hex-editing into game)
By default you cannot assign a grade "PLAYER" but fortunately I have bypassed this "easy" setting.

How to insert/edit the CMD file?
It's simple, put in the same folder where is the file CONFIG a file called CMD (uppercase!) and use the following syntax within it: (example)
Code:
shutdown DISABLE
item IMPLEMENTOR
How can I enable the grade 'PLAYER' into CMD?
  • First of all you will need a [Only registered and activated users can see links. Click Here To Register...]
  • Now the .dif file to apply into 'game' (../game/channel/share_data/game)
    Code:
    This difference file has been created by IDA Pro
    
    game_r2019
    00093CF0: 01 00
    002FE980: 4C 50
    002FE981: 4F 4C
    002FE982: 57 41
    002FE983: 5F 59
    002FE984: 57 45
    002FE985: 49 52
    002FE986: 5A 4D
    002FE987: 41 4F
    002FE988: 52 44
    002FE989: 44 45
    Code:
    This difference file has been created by IDA Pro
    
    game_r2089M
    00093CE0: 01 00
    002FE9F9: 4C 50
    002FE9FA: 4F 4C
    002FE9FB: 57 41
    002FE9FC: 5F 59
    002FE9FD: 57 45
    002FE9FE: 49 52
    002FE9FF: 5A 4D
    002FEA00: 41 4F
    002FEA01: 52 44
    002FEA02: 44 45
    Code:
    This difference file has been created by IDA Pro
    
    game_r34083
    0009FF3B: 01 00
    00421EAA: 4C 50
    00421EAB: 4F 4C
    00421EAC: 57 41
    00421EAD: 5F 59
    00421EAE: 57 45
    00421EAF: 49 52
    00421EB0: 5A 4D
    00421EB1: 41 4F
    00421EB2: 52 44
    00421EB3: 44 45
    Code:
    This difference file has been created by IDA Pro
    
    game_r40250
    000A37AB: 01 00
    00451D7F: 4C 50
    00451D80: 4F 4C
    00451D81: 57 41
    00451D82: 5F 59
    00451D83: 57 45
    00451D84: 49 52
    00451D85: 5A 4D
    00451D86: 41 4F
    00451D87: 52 44
    00451D88: 44 45
    Code:
    This difference file has been created by IDA Pro
    
    game_r40267
    000A305B: 01 00
    0043241F: 4C 50
    00432420: 4F 4C
    00432421: 57 41
    00432422: 5F 59
    00432423: 57 45
    00432424: 49 52
    00432425: 5A 4D
    00432426: 41 4F
    00432427: 52 44
    00432428: 44 45
    Code:
    This difference file has been created by IDA Pro
    
    game_r40424
    000A3A0B: 01 00
    00451DFF: 4C 50
    00451E00: 4F 4C
    00451E01: 57 41
    00451E02: 5F 59
    00451E03: 57 45
    00451E04: 49 52
    00451E05: 5A 4D
    00451E06: 41 4F
    00451E07: 52 44
    00451E08: 44 45
    Save it and call it 'file.dif' (example)
  • Now open the DifPatcher and select 'file.dif' files and 'game' and patch them!
    (now reupload yours 'game' and set the classic privileges 'chmod 755 game')
WARNING: I CALLED THE GRADE 'PLAYER' -> 'PLAYERMODE'.

CMD-Creator Script
First of all:
-Download the .sh script ([Only registered and activated users can see links. Click Here To Register...]) and call it 'cmdmaker.sh'.
-Place it on the root (/root) and set the permissions (chmod 755 cmdmaker.sh)
Now run it: './cmdmaker.sh'.

Other Resources
r2089 Command List([Only registered and activated users can see links. Click Here To Register...], [Only registered and activated users can see links. Click Here To Register...])

CMD Grades: (with patched game)
Code:
PLAYERMODE=0
WIZARD=2
HIGH_WIZARD=3
GOD=4
IMPLEMENTOR=5
DISABLE=6
The End!

All material in this guide has been created, tested and studied by me so if you have no respect for this I'll transform you into sausages!


Edit: Added attachment with these files! (if they are removed)
01/26/2012 03:19 FuBaum :3#2
Nice !
01/26/2012 09:23 almobd3#3
thanks a lot.

thanks given.

QUESTION:
how to activate a command to both grades and deactivating it to others for example:

item IMPLEMENTOR, HIGH_WIZARD << ACTIVE
item GOD, PLAYERMODE,WIZARD << DEACTIVATED

do I have to add it in separate lines?

item IMPLEMENTOR
item HIGH_WIZARD

kind regards.
01/26/2012 10:57 .Aza'#4
Very nice, thank you.
01/26/2012 11:09 .Rebel#5
Quote:
Originally Posted by almobd3 View Post
thanks a lot.

thanks given.

QUESTION:
how to activate a command to both grades and deactivating it to others for example:

item IMPLEMENTOR, HIGH_WIZARD << ACTIVE
item GOD, PLAYERMODE,WIZARD << DEACTIVATED

do I have to add it in separate lines?

item IMPLEMENTOR
item HIGH_WIZARD

kind regards.
if you make

item HIGH_WIZARD

that means GOD and IMPLEMENTOR will have that also because you say on the CMD that comand item will be for lvl min of 3 of the grid GOD and IMPLEMENTOR are lvl 4 and lvl 5

sample just to explain:

PHP Code:
if gm_grade_level >= 3 then
do_comand
else
return 
PHP Code:
PLAYERMODE=0
WIZARD
=2
HIGH_WIZARD
=3
GOD
=4
IMPLEMENTOR
=5
DISABLE
=null 
lol tanks for the fix player grid
01/26/2012 13:41 Zymos#6
Gibs bereits von Infinity...
nix besonderes
01/26/2012 14:40 lollo_9_1#7
Quote:
Originally Posted by almobd3 View Post
QUESTION:
how to activate a command to both grades and deactivating it to others for example:

item IMPLEMENTOR, HIGH_WIZARD << ACTIVE
item GOD, PLAYERMODE,WIZARD << DEACTIVATED
item HIGH_WIZARD

kind regards.
If you set "item WIZARD" automatically all higher grades will be activated! (HIGH_WIZARD, GOD, IMPLEMENTOR) (and disable all lower grades: only PLAYERMODE in this case)
Quote:
Originally Posted by Zymos View Post
Gibs bereits von Infinity...
My fix has never been published until now. He has only explained what is [Only registered and activated users can see links. Click Here To Register...]. They are two different things.
01/26/2012 15:07 -TÜRK-#8
OMG NICE!!!

THX YOU VERY MUCH
01/26/2012 15:50 #SoNiice#9
That isn't a fix, it's just an addon.
01/26/2012 15:52 almobd3#10
thanks given

Quote:
if gm_grade_level >= 3 then
do_comand
else
return
understood :)

thanks again

Quote:
Gibs bereits von Infinity...
nix besonderes
you can ignore that ...

Looking forward to your next release.
01/26/2012 16:18 kaynbock#11
Quote:
Originally Posted by lollo_9_1 View Post
All material in this guide has been created, tested and studied by me so if you have no respect for this I'll transform you into sausages!
Great guy!!

Thanks for your release, this is one of the options!

Greats,

kaynbock
12/01/2012 10:45 LovecKrys#12
Hello
After i put the CMD file to the channel1, my game suddenly shuting down..
[Only registered and activated users can see links. Click Here To Register...]
12/01/2012 20:29 wzy26022#13
Very good
05/23/2014 22:42 ady sun#14
On 34083 don't work :(...
In putty screen:
[Only registered and activated users can see links. Click Here To Register...]

Can I remove the emblem GM for grade LOW_WIZARD or GOD?
05/24/2014 05:22 meca4h4#15
c++ pls