skills in the database?
is there a way to extract skills from the database?
maybe something i could use in a php script maybe skill id/value i was looking at the old magelo clone and it has something in there about it but it looks like it bases it off you lvl verses item bonuses. not the actual skills itself. here is the code they use maybe you can modify it? Code:
|
If you're asking how to read the profile (which I think you are), I have made a script that does this. As a result, you can then pull a list of skill IDs with their corresponding skill level. I have listed this in the Wiki, but I've also posted some source on Sourceforge. It requires a few functions to make things a bit easier to convert from ASCII (which is how the blob is stored) to integers (signed or unsigned depending on the data). Here's the main stuff you'll need:
First, the functions: Code:
1 <?php Code:
1 <?php On a side note, if you're looking to pull any other information from the profile, the script I made, listed above, splits everything up from the profile into a nice array. I've modified it since to also convert the extprofile blob, but I haven't updated it to CVS yet. If you want to use any of it for any tools you're making, feel free, since I have it published under the GNU GPL. In any case, hope this helps. |
WOW thats amazing and the wiki will help me alot in finding the diff strings.. thanks alot you have been a really big help.
|
All times are GMT -4. The time now is 04:20 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.