Can some one tell me how to add auto cubi on character when each time a new character created?
i am using beastie's release image on vmware..
Can some one tell me how to add auto cubi on character when each time a new character created?
i am using beastie's release image on vmware..
It's not realy possible for ingame character creation. You can add auto cubi when creating a new account (this needs knowledge in php or jsp) or when creating a new character via web (this needs knowledge in jsp and the PW-Java API)
I recommend to add cubi when creating an new account. First decide if you want to do this by php or jsp. Then search for a create account script, search for an add cubi script, merge the add cubi script with the create account script, to do both actions at the same time...
btw. if you don't add some kind of security mechanism to your script, everyone can use html post injection to add as many cubi as he wants...
Last edited by ronny1982; 15-03-10 at 05:47 PM.
it is possible for in game character creation you just need to have the script ran via a crontab and it needs to also interface with php and java.
so for eg every 1 hour the script is ran via the cron
script will check:
Call Java function to get account ID and count all characters made on each account and then copy the info to a table
Then you do the same and copy to a different table
Compare
all accounts > than previous usecashnow function
something around those lines.