hello mates, can someone tell me some script for character change class which i can imply to the database?. some PHP Code? pls tell me. i really need this one . thank you
Printable View
hello mates, can someone tell me some script for character change class which i can imply to the database?. some PHP Code? pls tell me. i really need this one . thank you
like a module for a website or simple php code that let user change class?
yes its a kind of module an added query w/c user account will pay a credits sir? can you tell me? what php code it is to be implemented on webshop, about the launcher you offer on me sir, can you preview me some feature of it so i will gonna represent it and i will purchased your offer sir.?. thank you in advanced.
Server Name: Professional MU
Version: Season 6 Episode 3
any help? pls . help me expert mates. i need an script for the webshop that user will paid as credits when do used the change class function. pls
pls i need help. . . some script for this w/c i can imply on webshop..... kindly read my previous message thanks. :ehh:
can we get the script sir?
Use a unusable item like "30 Day Pass", then code a module :
If find this item in 1 place of character's inventory, change char's class to DK
2 -> DW
....
7 -> RF
Sell this item in VipMoney shop or ur webshop.
it's easy but take long time to do best module. I have developped this module for muweb, it's work fine. In change class page, 1st combo box for choose class, then execute a script to decrease credit and change class.
1. U can choose a item like 14 116 "Character Relocation Service" and change to "Character Class Service"
2. Sell it on ur Webshop for credits
3. Code a module base on mucore module like that :
- Query SQL Server and check if which character's inventory exist this item->Show Button "Choose Character", if not ->Don't show button.
- When click "Choose Character" button-> go to display a combobox or radio buttons to choose a class different than original character's class.
- Choose one and show the button "Change Class".
- When click to the button "Change Class" go to execute :
+ check the condition -> error message if not correct
+ check if character is using some items -> error ( this items can be disappear when Change Class done )
+ if all right -> Execute a sql script to sql server to update character's class to new class + remove item "Character Class Service" from this character's inventory.
My english isn't good. But i'll code this module. If i'm not busy, i'll share it here.
WebShop module change class!
Download: class.php download - 2shared
And when you use this script, you lose some equiped items on character.
1. First check if account is offline.
2. Next if offline, if he has some equiped items.
3. If not have equiped items, check if has necesary amount of creidts.
4. If he has necesary amount of credits execute a query, to extract credits and to set required character class.
online = online_check()
has_items = check_equiped_items()
not_have_credits = check_credits(necesary_credits)
if (online) {error}
else if (has_items) {error}
else if (not_have_credits) {error}
else {query}
This will work with any character class change, from BK to ELF of SM and etc.
If you just need to upgrade character class from DK to BK or BM step 2 is not necesary.