Jump to content

patrik774

Members
  • Posts

    18
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by patrik774

  1. I don't (!) ask anyone to help, I know what I need to use. I just need to know what do you prefer and your ideas to improve it.
  2. It is whatever you call it. So if you call it slowly, it's slowly, I'll better call it "cool". It's simple -> 1.) I want to transfer char, so I will put its name and destination account to some form -this is same for all transfer functions all over the world. 2.) The only difference is, that I (as a destination account player) am prompted to finish this proccess. - yes, it's not necessary. But I want players to know that they have new char. This step is also necessary if destination player's account reached limit for characters. This is why I want your help. I must know, what do you prefer. So if you prefer simple rewriting 'account_id', DIY. My main idea for this function was to inform player that he have some unfinished transfers, and to let you decide if you (destination account) want this char or no.
  3. It's not character copy, it's character transfer, wich means old owner will not have it anymore!
  4. Hi, I'm currently (last months) working on Account Management system for mangos. I'm just few steps from first public beta release (you can try tech demo http://patrik.php5.cz/manager/ - but it's not updated very often , so it's kinda buggy. What do I need from you guys is to help me with Character Transfer function. I don't mean help with PHP or some that stuff, I would like to hear your interesting ideas for this function, so that's the reason why do I post it here! Down I will include my list of ideas and what do I need from you is to comment anything, share opinions, GTFOs and... Everything! I know It's terrible to read all the text, but keep on! Main idea is to create KISS app, easy for GMs to control and user-friendly for players. I think we have to create database table like "character_transfers" or sth. Maybe with this datas +----+----------------+------------------------+------------+--------------+ | id | character_guid | destination_account_id | pay_method | paid/success | +----+----------------+------------------------+------------+--------------+ id - of transaction character_guid - clear destination_account_id - clear pay_method - first question when should be character charged ($config["transfer_cost"])? On transfer submit, or on successfull transfer, or 50-50? Or should player choose? ------------- I prefer on submit, and if destination account doesn't want it, we shall give money back. But what if the price has changed? default $config["transfer_cost"] is 1copper, character is charged for just 1copper, and "transfer_cost" will change to 10copper, the destination account will say no to new char, and character will have its' money plus 9 extra copper! // Try just adding comment to config file? paid/success - we flag character to transfer, paid is "0" and when it's "0", "destination_account_id" owner will be prompted to finish transfer procces. Ok this is just workover, but I like this idea of accepting characters. Questions for paid/success 1.) When character is flagged for transfer, shall be old owner able to play, or shall we lock that char? If not, we must keep an eye to pay_methot! 2.) SOLVED in "Server tools" - All transfers will be in log, and GM can watch and cancel any suspicious transfer. Other possibilities: 1.) Add "message" column for player messages ("Hey you Red Shirt Guy, Wildhammer Quests are ok...") - in this case, we should add other column "timestamp" to avoid instant mail web system. Something like "Hey, I have sent you character for trade, check it out in hour!"... Ok that's all fun for today, hope anyone reads it to the end! Sorry for spelling mistakes and other bad words... Thank you for all your interesting ideas!
  5. Yes, that works. Thank you for your replies.
  6. Thanks for reply, I tried that, but when $vars["listMyChars"][0]["gmState"] = true, $vars["listMyChars"][1], 2... is allways true
  7. Hi, I have problem with using ternary operator inside foreach. What do I need? I get $val["extra_flags"] from $chars_raw query, and when it's odd, I need to set $vars["gmState"] = true - BUT! when $val["extra_flags"] is even, I don't want to set anything. Appreciate any help. Thanks. function listMyChars($id) { global $vars, $realmd; $chars_raw= $realmd->fetchAll('SELECT * FROM characters.characters WHERE account=%i', $id); $chars = array(); foreach ($chars_raw as $val) { $chars["guid"] = $val["guid"]; $chars["name"] = $val["name"]; $chars["race"] = getRace($val["race"]); $chars["raceid"] = $val["race"]; $chars["class"] = getClass($val["class"]); $chars["classid"] = $val["class"]; $chars["gender"] = $val["gender"]; $chars["level"] = $val["level"]; $chars["money"] = $val["money"]; /* Can use $val["extra_flags"]&1 or $val["extra_flags"]%2 */ $val["extra_flags"]&1 ? $chars["gmState"] = '1' : ''; $vars["listMyChars"][] = $chars; } }
  8. I can't download DaViper's file, can someone reupload it? Thanks.
  9. /agree, this isn't good example but, on offy they are working and because they are lazy, they fall asleep. But with today's Databases/Scriptdev2 they only sleep. That's what I'm talking about. I know this isn't core problem, but while it's not done by scriptdev, with this idea - simply add flag to NPC and bye to all "one NPC campers"
  10. As Gotisch said, it can be done by flag. It's needed for more than two quests. For example: http://www.wowhead.com/quest=5441 [Lazy Peons] - now you can wait for cooldown and wake the same peon... This feature can be good. Just get it to work - flag will be nice for DB handling...
  11. The big yellow text is called MonsterTextEmote
  12. As you can see, he said report Bugs and problems so if noone discover any problem will be commited
  13. VEHICLES Patch for [8722] Author: Netsky Link : http://www.file-upload.net/download-1966455/0001-Vehicle-Patch.patch.html needed SQL : http://www.file-upload.net/download-1966904/mangos_vehicle_sql.zip.html Notes : - Visual Bytes are not yet properly updated - still working on generic DBC support
  14. And Here is For [7517], but on newer works fine http://pastebin.com/f5a26ea34
  15. Yes, this can be APCEPTED, because it's great and tested
  16. With mangos [7642] compiled without problems. In CreatureEventAi.cpp I used m_creature.DoFleeToGetAssistance(); Instead m_creature->DoFleeToGetAssistance(); And works. Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use