Voting Rewards menu

Shout-Out

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    mafiaboy's Avatar Contributor
    Reputation
    235
    Join Date
    May 2007
    Posts
    698
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Voting Rewards

    Alright so this is pretty simple . Just make a mysql query in a php script that will insert item x inside player y's inventory. Then show us where/how to put it in our page and voila!

    If you can make a script to create accounts , you can create a script to put items into a players id.

    Voting Rewards
  2. #2
    Le Froid's Avatar Contributor
    Reputation
    172
    Join Date
    Mar 2007
    Posts
    1,327
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Making a page to click a button to vote (then adds item to inventory) right now.

    http://pastebin.com/f23b297db -- Fixed URL
    Last edited by Le Froid; 03-09-2008 at 04:25 PM.

  3. #3
    tttommeke's Avatar Banned
    Reputation
    1
    Join Date
    Jul 2007
    Posts
    613
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Fixed alot of Le froid stuff, look a bit down for the url...
    Last edited by tttommeke; 03-09-2008 at 04:23 PM.

  4. #4
    Szharz's Avatar Contributor
    Reputation
    149
    Join Date
    Aug 2007
    Posts
    909
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)



  5. #5
    Le Froid's Avatar Contributor
    Reputation
    172
    Join Date
    Mar 2007
    Posts
    1,327
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Szharz View Post

  6. #6
    tttommeke's Avatar Banned
    Reputation
    1
    Join Date
    Jul 2007
    Posts
    613
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Also this isn't really protected against sql injections.

    Code:
       $ r = $ _POST[character];
    
       $ acc="SELECT * from character where name = $ r";
    What if I post : d;TRUNCATE * FROM character

  7. #7
    Le Froid's Avatar Contributor
    Reputation
    172
    Join Date
    Mar 2007
    Posts
    1,327
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    meh, needs work

  8. #8
    tttommeke's Avatar Banned
    Reputation
    1
    Join Date
    Jul 2007
    Posts
    613
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here : PHP pastebin - collaborative debugging tool Fixed alot of stuff, you forgot '' add some places + used useless stuff in it (like you did $account = $_POST['account']; but never recalled $account)

    I think this will work, not 100% because I can't test it.

  9. #9
    Le Froid's Avatar Contributor
    Reputation
    172
    Join Date
    Mar 2007
    Posts
    1,327
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Worked for my website
    Edited post

  10. #10
    mafiaboy's Avatar Contributor
    Reputation
    235
    Join Date
    May 2007
    Posts
    698
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    english? lol

    so i can understand what the script is doing and most of its functions , although how dso i plug it in into that lil pop up box?
    EDIT: ahh kk i found the mysql query , is there a way where a player can get their gold +5000? instead of replaced with a number?

    Is it possible to make the script viewable only once per day per IP adress?
    Last edited by mafiaboy; 03-09-2008 at 08:16 PM.

  11. #11
    Le Froid's Avatar Contributor
    Reputation
    172
    Join Date
    Mar 2007
    Posts
    1,327
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'll work on that tomorrow and send you a PM

  12. #12
    mafiaboy's Avatar Contributor
    Reputation
    235
    Join Date
    May 2007
    Posts
    698
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thnx le froid

  13. #13
    paul12176's Avatar Member
    Reputation
    7
    Join Date
    Sep 2007
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hi there im looking for something very simualr for my site but instaed but im looking for it to be every 12 hours ill have a lok at the script see what i can see aswell if u need pm me on the forums go and if u have msn my addy is [email protected] if u add me tell me who u are in the invation as i get so many invites from players

    i have another idea for instaed of it adding a item to the player u could make it add a point to the table by making a new table for voting points then make a page were it would dis[;y how many votes each player/account has made then u could give the biggest votes the best rewards so u can reward the guys that vote for u each day/12 hours just an idea dont know what u guys think about this and i would stop people trying to abuse the system to get items and what would hapen if the players bags are full etc
    Last edited by paul12176; 03-10-2008 at 02:15 AM.

  14. #14
    mafiaboy's Avatar Contributor
    Reputation
    235
    Join Date
    May 2007
    Posts
    698
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by paul12176 View Post
    hi there im looking for something very simualr for my site but instaed but im looking for it to be every 12 hours ill have a lok at the script see what i can see aswell if u need pm me on the forums go and if u have msn my addy is [email protected] if u add me tell me who u are in the invation as i get so many invites from players

    i have another idea for instaed of it adding a item to the player u could make it add a point to the table by making a new table for voting points then make a page were it would dis[;y how many votes each player/account has made then u could give the biggest votes the best rewards so u can reward the guys that vote for u each day/12 hours just an idea dont know what u guys think about this and i would stop people trying to abuse the system to get items and what would hapen if the players bags are full etc
    if were adding another table we will prbly need a dll file....im not very good in c++

  15. #15
    Le Froid's Avatar Contributor
    Reputation
    172
    Join Date
    Mar 2007
    Posts
    1,327
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

Page 1 of 2 12 LastLast

Similar Threads

  1. [Release] Voting Reward Script
    By TheSpidey in forum WoW EMU General Releases
    Replies: 178
    Last Post: 03-26-2009, 05:25 PM
  2. Voteing rewards
    By The God Father in forum Programming
    Replies: 1
    Last Post: 07-16-2008, 05:18 PM
  3. [Help] Voting Reward Script
    By 1111 in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 07-13-2008, 02:23 PM
  4. Voting Rewards
    By EmuGod in forum World of Warcraft Emulator Servers
    Replies: 28
    Last Post: 05-07-2008, 09:16 AM
  5. release (vote reward vendor)
    By pooooo132 in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 03-23-2008, 10:23 AM
All times are GMT -5. The time now is 10:30 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