[EPIC RELEASE] GM Stone C++ menu

User Tag List

Page 4 of 4 FirstFirst 1234
Results 46 to 53 of 53
  1. #46
    peaceandlove's Avatar Member
    Reputation
    1
    Join Date
    Jul 2009
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    cool release keep it up

    [EPIC RELEASE] GM Stone C++
  2. #47
    Zellcorp's Avatar Member
    Reputation
    24
    Join Date
    Jun 2008
    Posts
    59
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ill be waiting

  3. #48
    Jotox's Avatar Contributor
    Reputation
    250
    Join Date
    Mar 2008
    Posts
    282
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    toldja so :P

    Edit:
    Enter
    ' OR "a" in (select `name` from creature_names where `name` in (select `name` from creature_names)) and ''='
    in any of the codeboxes to crash a server using this script
    Last edited by Jotox; 07-30-2009 at 12:13 PM.

  4. #49
    The-Eradicator's Avatar Contributor

    Reputation
    149
    Join Date
    May 2007
    Posts
    829
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Jotox1 View Post
    toldja so :P

    Edit:
    Enter
    ' OR "a" in (select `name` from creature_names where `name` in (select `name` from creature_names)) and ''='
    in any of the codeboxes to crash a server using this script
    If you actually took the time to go do that, then you, sir, win +10 internets.

  5. #50
    Jotox's Avatar Contributor
    Reputation
    250
    Join Date
    Mar 2008
    Posts
    282
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by The-Eradicator View Post
    If you actually took the time to go do that, then you, sir, win +10 internets.
    yes, lol, i did XD

  6. #51
    Zellcorp's Avatar Member
    Reputation
    24
    Join Date
    Jun 2008
    Posts
    59
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Jotox1 can you help me re-make this part like you said with atoi( string )?

    QueryResult *rage1 = WorldDatabase.Query("Select `entry` FROM numbers where `entry` = '%s'", Code);

    if(rage1)
    {
    Field *Fields = rage1->Fetch();
    uint32 entry = Fields[0].GetUInt32();
    Plr->SetUInt32Value(UNIT_FIELD_POWER2, entry);
    Plr->SetUInt32Value(UNIT_FIELD_MAXPOWER2, entry);
    CharacterDatabase.Execute("UPDATE characters SET current_power = %u WHERE guid = %u", entry, Plr->GetGUID());
    Plr->Gossip_Complete();
    }

    thanks

  7. #52
    Jotox's Avatar Contributor
    Reputation
    250
    Join Date
    Mar 2008
    Posts
    282
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    QueryResult *rage1 = WorldDatabase.Query("Select `entry` FROM numbers where `entry` = '%s'", Code);
    
    if(rage1)
    {
    Field *Fields = rage1->Fetch();
    uint32 entry = Fields[0].GetUInt32();
    Plr->SetUInt32Value(UNIT_FIELD_POWER2, entry);
    Plr->SetUInt32Value(UNIT_FIELD_MAXPOWER2, entry);
    CharacterDatabase.Execute("UPDATE characters SET current_power = %u WHERE guid = %u", entry, Plr->GetGUID());
    Plr->Gossip_Complete();
    }

    would become
    Code:
    uint32 entry = atoi(Code);
    
    if( !entry ) return;
    
    Plr->SetUInt32Value(UNIT_FIELD_POWER2, entry);
    Plr->SetUInt32Value(UNIT_FIELD_MAXPOWER2, entry);
    CharacterDatabase.Execute("UPDATE characters SET current_power = %u WHERE guid = %u", entry, Plr->GetGUID());
    Plr->Gossip_Complete();

  8. #53
    Zellcorp's Avatar Member
    Reputation
    24
    Join Date
    Jun 2008
    Posts
    59
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks man ill give it a go...

    it works!!! omg Ive wanted this question answerd for so long!! no need for numbers table!! GM Stone 2.1 coming soon!!

    thanks Jotox1 +rep for your help

    I have now updated to 2.1, enjoy!!
    Last edited by Zellcorp; 07-31-2009 at 05:39 AM.

Page 4 of 4 FirstFirst 1234

Similar Threads

  1. [Epic][Release][LUA] Priestess Eelira
    By Exacute in forum WoW EMU General Releases
    Replies: 51
    Last Post: 10-16-2008, 05:54 PM
  2. [Release] Warp stone lua
    By Noobcraft in forum WoW EMU General Releases
    Replies: 8
    Last Post: 10-03-2008, 06:47 PM
  3. [Epic Release] Project Silvermoon FunDB Rev 10!
    By Placeholder in forum WoW EMU General Releases
    Replies: 70
    Last Post: 10-01-2008, 05:46 PM
  4. [EPIC RELEASE] Kobold v4 !!
    By latruwski in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 01-07-2008, 12:27 PM
All times are GMT -5. The time now is 05:06 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search