Aegis Support Board: PHP Skills Parser - Aegis Support Board

Jump to content

ASB News! ASB 5.0 Beta V2 has now been released!. See here for more Info.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

PHP Skills Parser

#1 User is offline   serra 

  • Average Member
  • PipPipPipPip
  • Group: Members
  • Posts: 123
  • Joined: 26-May 03

Posted 04 April 2004 - 12:39 PM

It's been a while since anyone seems to have taken a shot at the skills table in the character database, so here goes. Skills in the database are as follows when converted from binary to hex:

0x00000000

In blue is the skill in question. For example, novice skill is the first skill, so it would be '0100'. This isn't '1' though. Gravity was smart enough to switch things up. The first 2 hex numbers are swapped with the last 2 if you actually want to know it's number.

In red is the level of the skill. Again, the first two hex numbers are swapped with the last two. For a level 9 skill, the database would show '0900'. I haven't tried to play with skills higher than 10, or higher than their normal maximum, but I would guess that the zone would become unstable.

Each skill when you learn it is appended to the end of whatever is in the skill table at the time. For example, a swordsman with full novice skill and 2 ranks of one hand mastery would have:

0x0100090002000200

The novice skill comes first (in blue) because it is learned first, then comes the one hand sword mastery (in red).

The skills I had problems/interesting experiences with were:

5200 - couldn't find the class who had this skill. it's skipped in the skill file in the itemdata folder.

These next few skills didn't show up ingame when I inserted them in to my character in the database, so I guessed where they should have shown up:
8a00 - AS_ENCHANTPOISON
8b00 - AS_POISONREACT
8c00 - AS_VENOMDUST
8d00 - AS_SPLASHER
8f00 - NV_TRICKDEAD

These skills for sage aren't in the game yet.. mebbey? Guessed again where they should be:
2301 - SA_MONOCELL
2401 - SA_CLASSCHANGE
2501 - SA_SUMMONMONSTER
2601 - SA_REVERSEORCISH
2701 - SA_DEATH
2801 - SA_FORTUNE
2901 - SA_TAMINGMONSTER
2a01 - SA_QUESTION
2b01 - SA_GRAVITY
2c01 - SA_LEVELUP
2d01 - SA_INSTANTDEATH
2e01 - SA_FULLRECOVERY
2f01 - SA_COMA

And this one for bard dancer combo:
3a01 - BD_RAGNAROK

The new 1st job skills apparently can be used by any job from what I can see:
9000 - SM_MOVINGRECOVERY
9100 - SM_FATALBLOW
9200 - SM_AUTOBERSERK
9300 - AC_MAKINGARROW
9400 - AC_CHARGEARROW
9500 - TF_SPRINKLESAND
9600 - TF_BACKSLIDING
9700 - TF_PICKSTONE
9800 - TF_THROWSTONE
9900 - MC_CARTREVOLUTION
9a00 - MC_CHANGECART
9b00 - MC_LOUD
9c00 - AL_HOLYLIGHT
9d00 - MG_ENERGYCOAT

All other jobs can only be used by that job or the job below it. For example, one handed sword mastery can only be used by swordsman, knight, or crusader. There is a gap after the new 1st job skills to before the 2-2 job skills, npc skills fill that gap. After the 2-2 skills, there are a few more npc skills.

Anyway, on to my php dealie. It's a simple form to find what skills a character has. It is mainly geared toward webmasters and whatnot that know a bit of php or are willing to learn a bit. The functions would be useful if say, you wanted to set up a page for players that shows which blacksmiths can make what, or you can add it to the userinfo page on AegisCP.

This was tested on apache 1.3.27, php 4.3.3, asb 2.0.2, so I suppose those are the minimum requirements. To my knowledge, mssql.dll is not needed, but you probably have it installed anyway. Instead of mssql functions, it uses pear. By default, pear is installed on *nix machines if you have a fairly recent version ( 4.3.x) of php.

For windows machines, follow these somewhat simple instructions copied from the pear site:

1. After you have downloaded and installed PHP, you have to manually execute the batch file located in c:\php\go-pear.bat -- or where-ever you installed php.

2. The setup will ask you some questions and afterwards the PEAR Package Manager will be installed in the path, which you have specify during installation.

3. Add that installation path to your PATH environment (Start > Control Panel > System > Environment)

4. Every so often, update your PEAR installation from go-pear.org, request http://go-pear.org/ in your browser and save the output to a local file go-pear.php. You can then run 'php go-pear.php' in a Windows Command Prompt to start the update process.

If there is a big request for a mssql extension version, then I'll make it.

Attached File(s)


0

#2 User is offline   CEpeep 

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 90
  • Joined: 22-April 03

Posted 04 April 2004 - 10:28 PM

Wow. This is really nice. :(

Now all we need ai an Aegis control panel (Like RODM or AegisCP) that uses PEAR. *hint, hint to soneone* B)
0

#3 User is offline   serra 

  • Average Member
  • PipPipPipPip
  • Group: Members
  • Posts: 123
  • Joined: 26-May 03

Posted 05 April 2004 - 04:28 AM

CEpeep, on Apr 4 2004, 10:28 PM, said:

Wow. This is really nice. :ph34r:

Now all we need ai an Aegis control panel (Like RODM or AegisCP) that uses PEAR. *hint, hint to soneone* :)

Pfft I'm getting there. Working on something like ebay for aegis right now actually. Glad you like the skills thing though. :(
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users