Ulysses
General => Developers Corner => Topic started by: AviZ on May 01, 2008, 11:16:15 PM
-
hi,
wonder if anyone can point me in the direction of a vote system, this is what i want to achive.
i run umaps and would like to have a vote system come up for the users to vote to extend the map and on success of the vote to umaps_extend +0 +0 +2 for 2 hours longer
-
You could just take a look at the ULX Vote. It has a popup that gives options and teh user needs to press the number on their keyboard that corresponds with the option they wish to vote for.
-
well if i knew lua or knew what im doing with it i would have made something by now and not make a topic for help.
-
Sorry, I just assumed because of the forum you posted in that you were interested in making this yourself. (/sarcasm)
But in all seriousness, what you asked for in your OP was something along the lines of a vote system, and Im pretty sure unless you are asking one of us to do this for you, you wont find anything that automatically does exactly what you want it to do.
-
well can this be done? and how much will it cost?
i mean it cant be that hard...
upon umaps alert cast vote, if success then extend
the thing is i dont know how to do this.
also i would like to see a remote https:// for the ulx users.txt one day for multi servers 1 file for like 5 servers
-
also i would like to see a remote https:// for the ulx users.txt one day for multi servers 1 file for like 5 servers
As for this, goto the releases section, check up on Umotd.
-
well can this be done? and how much will it cost?
i mean it cant be that hard...
upon umaps alert cast vote, if success then extend
the thing is i dont know how to do this.
No, it wouldn't be hard. As for cost, well, I'm not offering services. Though your idea is an excellent idea, it may be done by the Umaps author for free some day.
Then again, he's as busy as most other folks here.
also i would like to see a remote https:// for the ulx users.txt one day for multi servers 1 file for like 5 servers
Avi, this forum has a 'STEAM_ID' field for donators and other people we've granted access. This steam ID is stored in SQL.
ULib on our game server looks up the steamid of every person who joins. If they're granted access here through our forum, they get whatever access matches on the server.
I understand you're experience, age, patience or lack of time can prevent you from learning, but, having a NEED or WANT is the best motivation to learn anything. Wheter it be Lua, or SQL.
I know enough to be dangerous of several different scripting languages. I know nothing of SQL. I've not found the motivation to learn, other than thinking "I'd like to learn it some day". Some day still hasn't arrived.
Jay, I'm pretty sure he meant multi server, single access look ups. Not just the informational lookup like that of UMotd.
-
yes i ment maybe addeding something into gbans with the mysql lookup to add users to a global userlist.
-
It's really quite simple to make your own. :)
-
Jay, I'm pretty sure he meant multi server, single access look ups. Not just the informational lookup like that of UMotd.
Would something in Umotd work like: ["motd"] = "http://yoursite/motd.txt", ?
-
Would something in Umotd work like: ["motd"] = "http://yoursite/motd.txt", ?
Yes, you wouldn't even need 'motd.txt' on that.
However, He wants a single file to grant access for multiple servers. The opposite of UBan - Multi servers, single ban database. But instead, multi servers, single access database.
Umotd only provides information in a visual format, it's not meant to be a multi server ULib user.txt lookup
[EDIT] - Find discussion and SQL/Lua code regarding SMF forums => our Gmod server here - http://forums.ulyssesmod.net/index.php/topic,3241.0.html
-
Oh ok, now I see. I read his post wrong.
-
so... does anyone want to make a voting system for extending maps?
-
I have just over a week of school left, after which I'll have much more time to spend on other stuff. Since there appears to be interest, I will likely be doing a full rewrite of UMaps at that time.
-
great stuff, its used alot and stops snapshot overflows!