Ulysses

Ulysses Stuff => Releases => Ulysses Release Archives => Topic started by: jay209015 on August 11, 2009, 01:57:28 AM

Title: URequest
Post by: jay209015 on August 11, 2009, 01:57:28 AM
==================URequest Has Been Rebuilt=================
Current Features:
     - Ability to make normal and private requests
     - Admins are notified at the time a request is made, and when they first join the server
     - Admins can now accept/deny requests rather than just deleting them
     - If the player is in the server when a request is accepted or denied they will be notified and a reason is given if supplied by the admin
     - If the player is not in the server at the time, they will be notified when they first spawn next time they join.
     - Everything in console autocomplete! :D
     - Full GUI with live updating. No more disappearing the re-appearing to refresh! :D


Current Commands:
     - URequest
               - Brings up the GUI
     - URequest Make
               - Usage: URequest Make You should install wiremod on the server! :D
               - Results in a public request viewable by everyone on the server by using URequest
     - URequest Makep
               - Usage: URequest Makep You should install GCombat on the server! :D
               - Results in a private request viewable by only admins on the server by using URequest
               - Request is preceded by *ADMIN* -
     - URequest Deny
               - Usage: URequest Deny 13630765 I don't think that is necessary.
               - Results in the removal of the request, and notifies the player
               - Is no reason is given the reason is no reason
     - URequest Accept
               - Usage: URequest Accept 13630765 That is a great idea, thanks!
               - Results in the removal of the request, and notifies the player
               - Is no reason is given the reason is no reason


Currently there is not a GUI, only console commands, but it works wonderfully.
I hope to have a GUI ready soon, but as I've mentioned in a later post, I am
taking my time with this one.
Title: Re: URequest
Post by: Euphytose on August 11, 2009, 09:13:25 AM
Excellent, very nice work.  :)

Are there !command at the moment?
Title: Re: URequest
Post by: jay209015 on August 11, 2009, 11:15:06 AM
Quote
Are there !command at the moment?
     - Not yet, I will implement them tonight.
Title: Re: URequest
Post by: Euphytose on August 11, 2009, 01:17:58 PM
     - Not yet, I will implement them tonight.

Thanks. :)
Title: Re: URequest
Post by: atomicspark on August 11, 2009, 03:22:00 PM
This looks a little more polished then the original version. I like it. I'll try it out once you finish the chat commands. Be guaranteed that I'll have suggestions for you. :)
Title: Re: URequest
Post by: JamminR on August 11, 2009, 06:37:03 PM
Ugh. What is it with everyone wanting chat commands?
Even if hidden from other users, I dislike them so.
Title: Re: URequest
Post by: jay209015 on August 11, 2009, 06:38:38 PM
Quote
Ugh. What is it with everyone wanting chat commands?
Even if hidden from other users, I dislike them so.
     - Lol, why so much hatred :P
Quote
his looks a little more polished then the original version. I like it. I'll try it out once you finish the chat commands. Be guaranteed that I'll have suggestions for you.
     - Chat commands added, and I'm prepared to take in your suggestions
Title: Re: URequest
Post by: JamminR on August 11, 2009, 06:46:56 PM
     - Lol, why so much hatred :P
No autocomplete, except for names, and only if you can type the first few ascii characters of a name, in the chat box.
ULib/ULX autocomplete in console just rules.
Meh. Personal preference. So many prefer chat and gui's.
I'm an old shell/dos command line guy.
(Read-Geezer!)
:D
Title: Re: URequest
Post by: atomicspark on August 11, 2009, 08:08:41 PM
Well from what I see, players just type !request <insert request here>. Most players can't be arsed to figure out the console. That's about the extent of chat commands I would want/need. A GUI window would be better for the admin side of it. However, most of ulx commands have a chat version, so why not? :P

I'm an "old" terminal guy.
(Read-Linux-based operating systems user)
:D
Title: Re: URequest
Post by: iBurnPuppies on August 11, 2009, 08:38:06 PM
Hey, I really like this addon, I added it to my server. I only have a couple problems, though. The !urequest view doesn't show me everybody's request, only the one I made as a test. I can only view all the requests through the text file that is stored in the data folder of my server. Also, there's a bug where you have to type !urequest delete before you can make your first request ever, because when I do !request make I get the message saying I already have a request in progress. May I suggest that you add the ability to have more than one request per player?
Title: Re: URequest
Post by: jay209015 on August 11, 2009, 09:03:27 PM
Quote
The !urequest view doesn't show me everybody's request, only the one I made as a test.
     - Are you an admin on your server?
Quote
Also, there's a bug where you have to type !urequest delete before you can make your first request ever, because when I do !request make I get the message saying I already have a request in progress.
     - If you don't have a pending request, !urequest delete wont do anything. I may add the ability for more than one request later.
Title: Re: URequest
Post by: jay209015 on August 11, 2009, 10:10:59 PM
Quote
Commands:
     - URequest Make < Your request here, or leave blank for a gui >
     - URequest Makep < Same as make except only you and the admins can see it. (Useful for reporting people) >
     - URequest Delete <SteamID of the request your want to remove(admin only), or leave blank to remove your own>
     - URequest View ( Opens a gui where if you're admin you can view all requests made, or delete individual ones, if you are just a player you can view your current request/delete it, and if you type this in the server console, it will display a table of requests.)
     
Updates:
     - Added chat commands !urequest <make,delete,view, makep>
     - Fixed non-admins not being able to delete their requests from the view screen
     - Fixed players request still showing up if a request was deleted from another method other than the view screen
     - Fixed the format of the view screen, a little prettier you may not notice.
     - Changed the view menu to show all requests that aren't private to everyone
     - Added URequest makep so that you can send a request only you and admins can see
     - Changed chat commands so that they aren't visible in chat.
Title: Re: URequest
Post by: iBurnPuppies on August 11, 2009, 11:12:02 PM
     - Are you an admin on your server?     - If you don't have a pending request, !urequest delete wont do anything. I may add the ability for more than one request later.

Yes, I am admin. Though, I am the Owner rank, a custom rank I made myself, could that be the problem?
Title: Re: URequest
Post by: jay209015 on August 11, 2009, 11:28:11 PM
Quote
Yes, I am admin. Though, I am the Owner rank, a custom rank I made myself, could that be the problem?
     - Yes actually, that doesn't pass the IsAdmin() check.
Title: Re: URequest
Post by: jay209015 on August 13, 2009, 01:59:20 AM
Commands:
     - URequest Make < Your request here, or leave blank for a gui >
     - URequest Makep < Same as make except only you and the admins can see it. (Useful for reporting people) >
     - URequest Delete <SteamID of the request your want to remove(admin only), or leave blank to remove your own>
     - URequest Help ( Just like ulx help, it show's the commands and what they do for URestrict in the players console. )
     - URequest View ( Opens a gui where if you're admin you can view all requests made, or delete individual ones, if you are just a player you can view your current request/delete it, and if you type this in the server console, it will display a table of requests.)
     
Updates:
     - Added chat commands !urequest <make,delete,view, makep, help>
     - Fixed non-admins not being able to delete their requests from the view screen.
     - Fixed players request still showing up if a request was deleted from another method other than the view screen.
     - Fixed the format of the view screen, a little prettier you may not notice.
     - Changed the view menu to show all requests that aren't private to everyone.
     - Added URequest makep so that you can send a request only you and admins can see.
     - Changed chat commands so that they aren't visible in chat.
     - Added URequest help.
     - Added a function to alert all active admins when a player makes a request.
     - Added a function to let an admin know how many pending requests there are when they first join the server
     - Added a function to let you know if you have an active request when you first join the server.
     - Added an advert to let users know that URequest is on the server.
Title: Re: URequest
Post by: Euphytose on August 13, 2009, 10:51:18 AM
Very nice update, thank you.  :D
Title: Re: URequest
Post by: stefan1994 on August 14, 2009, 10:16:26 AM
only one thing is anoying for me

that all commands are Urequest.
nobody knows what that U mean so could you pleas make it so that the commands are only request?

i also found a bug if you type into console urequest it says

Please Specify A Sub Command: makemakepdeleteviewhelp

would be better if it say make, makep, delete, view, help ;D

and if you type !urequest help into chat it should say something like
pleas look into your console or it could also open a gui with help and buttons for all the commands
Title: Re: URequest
Post by: Euphytose on August 14, 2009, 10:24:58 AM
What I would like to have is that when you type !request, a menu appears, with the choice of available actions, instead of having to type !urequest make.
Title: Re: URequest
Post by: stefan1994 on August 14, 2009, 11:07:00 AM
yes that would be cool i would like to have it too. :P
Title: Re: URequest
Post by: jay209015 on August 14, 2009, 11:53:04 AM
only one thing is anoying for me

that all commands are Urequest.
nobody knows what that U mean so could you pleas make it so that the commands are only request?


Please Specify A Sub Command: makemakepdeleteviewhelp

would be better if it say make, makep, delete, view, help ;D

     - U can mean either You or Ulysses
     - Yeah, I forgot to put the formating in on the commands
Title: Re: URequest
Post by: jay209015 on August 14, 2009, 12:40:34 PM
Updates:
     - Added chat commands !urequest <make,delete,view, makep, help>
     - Fixed non-admins not being able to delete their requests from the view screen.
     - Fixed players request still showing up if a request was deleted from another method other than the view screen.
     - Fixed the format of the view screen, a little prettier you may not notice.
     - Changed the view menu to show all requests that aren't private to everyone.
     - Added URequest makep so that you can send a request only you and admins can see.
     - Changed chat commands so that they aren't visible in chat.
     - Added URequest help.
     - Added a function to alert all active admins when a player makes a request.
     - Added a function to let an admin know how many pending requests there are when they first join the server
     - Added a function to let you know if you have an active request when you first join the server.
     - Added an advert to let users know that URequest is on the server.
     - Removed and replaced all chat commands with !request
     - Merged URequest View with URequest Make/Makep
Title: Re: URequest
Post by: Major_Pain on August 14, 2009, 01:05:27 PM
Brilliant!
Title: Re: URequest
Post by: Euphytose on August 14, 2009, 09:44:21 PM
Another nice update, thanks.  :)
Title: Re: URequest
Post by: Euphytose on August 20, 2009, 04:01:09 PM
Could you please make the plugin that players who have sent a request are able to see why they have been accepted, or not, by a message when they spawn?
Title: Re: URequest
Post by: Tom on November 15, 2009, 10:12:42 AM
Im not really sure what is going on but, I installed this today and well when I joined it downloaded stuff... and It is definately in the server but when I do chat commands, nothing happens. When i go in console the autocomplete is there... but nothing happens...

Overall nothing happens?

What is going on?

Tom. x

****************EDIT***************

Ok i found that the thing that was wrong in chat was that I was typing "!urequest" when you changed it to "!request"
That is the furthest i have gotten. I have typed a fiew requests using both private and public but i cannot see any of them anywhere... when i click the submit button then the menu disappears and nothing happens... i can bring it back up and nothing has changed... None of my console commands work ive typed all the available ones and nothing happens... i get a response when typing them through Rcon but... well it says you cannot make a request in the console and rcon urestrict view says there are no pending requests even though i just made several before.... EH?
Title: Re: URequest
Post by: jay209015 on November 15, 2009, 11:38:44 AM
hmmm... I'll look into it.
Title: Re: URequest
Post by: jay209015 on November 17, 2009, 03:34:18 PM
=======================UREQUEST IS BEING REBUILT!====================================
Features to come:
     - Ability to add a message for why a request was denied/accepted
     - Notification that your request was denied/accepted plus a reason if supplied
     - Live gui, no more disappearing then re-appearing to show updates
     - Active admins will be alerted when a request is made
     - When an admin joins they will be reminded of pending requests
Title: Re: URequest
Post by: Tom on November 18, 2009, 10:29:21 AM
Its being completely rebuilt again?

YAY hope to see it even better than it already was.... even though it wouldnt work for me  8)
Title: Re: URequest
Post by: jay209015 on November 18, 2009, 02:47:50 PM
Yup, complete rebuild. I am taking my time this go around. Things are going to be a lot smoother with the behind the scenes operations.

?Question? - Should private request have the submitting players SteamID encrypted or hidden, or left visible to the server admins?
Title: Re: URequest
Post by: JamminR on November 18, 2009, 04:06:25 PM
?Question? - Should private request have the submitting players SteamID encrypted or hidden, or left visible to the server admins?
If someone has trusted enough access to see requests, they should be able to see the steamid.

Personally, I'm really at a loss as to why some are so secretive about this... I can view SteamIDs on Source servers all day long...
Is there some exploit using SteamID's I'm not aware of?
Title: Re: URequest
Post by: jay209015 on November 18, 2009, 10:12:49 PM
Quote
Is there some exploit using SteamID's I'm not aware of?
     - Nah, I just wanted to play with some encryption for fun :P, but on second thought it really isn't necessary.
Title: Re: URequest
Post by: Tom on November 19, 2009, 11:15:40 AM
well if it helps... I am a server owner and you guys probably are too but, I don't see the point in encrypting steam IDs. Also if you have them, I think it would be good to see them, so that you can use them to punish people misusing it? Just a thought.
Title: Re: URequest
Post by: jay209015 on November 19, 2009, 04:30:23 PM
An update has been released, see first post! :D
Title: Re: URequest
Post by: Tom on November 20, 2009, 11:59:01 AM
Looking good! I'm going to wait until the full release with chat commands and gui comes out before I download... But hope to see it soon!!

Tom.
Title: Re: URequest
Post by: jay209015 on November 20, 2009, 03:10:56 PM
URequest is up an running with the full GUI and commands now. Enjoy!
Title: Re: URequest
Post by: Tom on November 22, 2009, 04:53:26 AM
Mine is still not workring... when the server starts up:
Lua Error: ERROR: Hook 'URequest_Init' Failed: ULib/modules/URequest.lua:91: attempt to index field 'Accepted' (a nil value)
Lua Error: Removing Hook 'URequest_Init'
Title: Re: URequest
Post by: jay209015 on November 22, 2009, 06:37:41 AM
I honestly don't see how that is possible.
Title: Re: URequest
Post by: Tom on November 22, 2009, 07:34:35 AM
I actualy have no idea what it means... so i cant really help in it ^^
Title: Re: URequest
Post by: jay209015 on November 22, 2009, 12:58:12 PM
Did it ever work for you, or was it broken since install?
Title: Re: URequest
Post by: Wayne Brady on November 22, 2009, 02:01:34 PM
Does this work on the non svn version?
Title: Re: URequest
Post by: jay209015 on November 22, 2009, 04:35:11 PM
No, requires the latest ULib svn
Title: Re: URequest
Post by: Tom on November 22, 2009, 05:55:31 PM
well before you rebuilt... i could bring up the gui.. but when i made a request nothing happened and none of the console commands worked.. and after rebuild absolutely nothing works.
Title: Re: URequest
Post by: sharp on February 16, 2010, 06:51:36 PM
i got an error in server startup there  seems to be a problem with ulx.addAdvert

Quote
ulx\modules/URequest_Advert.lua:1: attempt to call field 'addAdvert' (a nil value)

Edit: oh and this too

Quote
[ULIB] Loading SERVER module: URequest.lua
ULib/modules/server/URequest.lua:210: attempt to call field 'begin_subconcommand' (a nil value)
Title: Re: URequest
Post by: jay209015 on February 17, 2010, 10:50:06 AM
Looks like you have the old version, which will not work with the latest ULib/ulx. Please grab the new copy from the first post. That should fix your problems.
Title: Re: URequest
Post by: Buggzie on June 13, 2010, 06:34:08 AM
can you make a mysql version so you can get suggestions from multiple servers instead of one and it displays the server name the suggestion was given from?