Mangos Vote Reward System (Must Work) menu

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    BlackGoth's Avatar Private
    Reputation
    1
    Join Date
    Oct 2009
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need HELP!

    sry i have any problems with the Mangos_AVS vote Systhem!

    My Englisch isn´t verry good...i´m coming from Germany and i hope you can help me =(

    I have this Problem.

    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in

    did everybody know whats the problem are?

    I need your help.

    My Serverversion is Mangos 3.2.2a

    Thank you.

    Mangos Vote Reward System (Must Work)
  2. #17
    B1ng0's Avatar Member
    Reputation
    1
    Join Date
    Nov 2008
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have to problem

  3. #18
    cristinel's Avatar Member
    Reputation
    1
    Join Date
    Sep 2008
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by milla247 View Post
    Hi Tom, I think I have fixed the AVS program.
    Download the Org AVS from the link linked above or Mangos_AVS.rar - FileFactory

    Now download my edited spend.php and replace it or make these fixes:

    AFTER THESE LINES:
    Code:
    //send item.
    		$Con = mysql_connect($Realminfo['sqlhost'],$Realminfo['sqluser'],$Realminfo['sqlpass']);
    		mysql_select_db($Realminfo['chardb']);
    		$stack = 1;
    		$gold = 0;
    		$item = 1;
    DELETE ALL LINES BETWEEN ABOVE AND BELOW (not incuding these):
    Code:
    //	if ($result) {
    //	      mysql_close();
    //          return $mail_id;
    //	} else {
    //			mysql_close();
    //			return 0;
    //			}
    AND ADD THIS CODE IN BETWEEN THEM:
    Code:
    if ($item == 0) {
            	 $has_items = 0;
        	} else {
            	 $has_items = 1;
        	}
    
    		// create item first...
    		$result =  mysql_query("SELECT MAX(`guid`) FROM item_instance");
    		$item_instance_id = (mysql_result($result, 0)) + 1;
    		$result = mysql_query("INSERT INTO `item_instance` (`guid`, `owner_guid`, `data`) VALUES ($item_instance_id , '{$Character}', '".$item_instance_id." 0 3 {$Rinfo['itemid']} 0 0 {$Character} 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ')");
    		
    		// Write message
    		$result = mysql_query("SELECT MAX(`id`) FROM item_text");
    		$item_page_id = (mysql_result($result, 0)) + 1;
    		$result = mysql_query("INSERT INTO `item_text` (id, text) VALUES ($item_page_id,'".MAIL_BODY."')");
    		
    		// Setup Mail entry
    		$result = mysql_query("SELECT MAX(`id`) FROM mail");
    		$mail_id = (mysql_result($result, 0)) + 1;
    	   	$result = mysql_query("INSERT INTO mail (id,messageType,stationery,mailTemplateId,sender,receiver,subject,itemTextId,has_items,expire_time,deliver_time,money,cod,checked) VALUES ($mail_id, 0, 61, 0, '{$Character}', '{$Character}', '".MAIL_SUBJECT."', '$item_page_id', '$has_items', '".(time() + (30*24*3600))."','".(time()+5)."', '$gold', 0, 0)");
     		if ($has_items) {
    			$result = mysql_query("INSERT INTO mail_items (mail_id,item_guid,item_template,receiver) VALUES ($mail_id, $item_instance_id, '{$Rinfo['itemid']}', '{$Character}')");
    		}
    Or download the spend.php file here: spend.rar - 0.0002 MB

    EDIT:
    I see you mentioned that you were considering paying or rewarding etc, you dont have to, but if you feel a tip is in need then send me a PM =)

    Hope this fix works for you
    Please some one reupload or to give me other link from where i can download this version.

  4. #19
    eGaming WoW's Avatar Member
    Reputation
    1
    Join Date
    Aug 2009
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can someone re upload this pls

  5. #20
    rulebreaker's Avatar Member
    Reputation
    10
    Join Date
    Mar 2007
    Posts
    51
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just use SUPERGADGETS vote system for mangos, its much easier to config then this one

    Home | MaNGOS Vote System (MVS) | Assembla

Page 2 of 2 FirstFirst 12

Similar Threads

  1. AVS 1.0.4 (Ascent Vote & Reward System)
    By KaMakaZe in forum WoW EMU General Releases
    Replies: 12
    Last Post: 08-16-2010, 03:02 PM
  2. [Exploit] Vote reward system (WoWEnforcers and others)
    By Dhoomwalker in forum WoW EMU Exploits & Bugs
    Replies: 3
    Last Post: 09-04-2009, 07:21 PM
  3. Vote reward System mysql bug
    By Dagster in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 05-06-2009, 04:40 AM
  4. Vote and reward system - Mangos/trinity - Paying $200
    By insainz in forum WoW EMU Questions & Requests
    Replies: 19
    Last Post: 04-29-2009, 12:33 PM
  5. Voting site POINTS reward system
    By Sebastian011 in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 03-11-2009, 04:56 PM
All times are GMT -5. The time now is 09:44 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