Mati's Last Request Plugin
+27
Spx.
Syntech
gusti
DarkNess
x-regit-x
Necro
kami (GER]
Koyumu
pn
Epicness
Chillz
Mizurri
maGeNN
J3FFR3Y
BBQQ
Aokiji*
Chasin
Marksel
Hanyuu
hazik666
Falastiny
Satoko
LongD
Liz
Agent Smith
Hibari
Mati
31 posters
Page 1 of 3
Page 1 of 3 • 1, 2, 3
Mati's Last Request Plugin
Already long ago, I realized that something is missing on the jailbreak server: A last request script to handle a LR comfortable and orderly.
The current last request happens like this:
"Your last request?"
"shot for shot"
"Whats your last request??" (CT didnt read it, because it was gone too fast)
"SHOT FOR SHOT"
"Ok, hp?"
"55hp"
"Ok, let's go heal"
1 min later
"Ok, someone give him a deagle"
20 sec later
"With whom do you want to start?"
"abc."
"Ok let's go"
After he won the s4s:
"Hp?"
"40"
"Ok, knife me twice"
The whole typing, asking, searching and hp procedure is an unnecessary efford - that's why I thought a last request script would be a great thing and a big advancement. I missed that possibility really much. So after a while I created a thread on the forums - that was over one month ago - with that suggestion. Hardly anyone replied in the beginning, but at last Koyumu answered that he will install such a script. I talked with him later, and he told me, he will ask a programmer to do so in a while. Meanwhile, I played with the thought to program such a plugin myself - I have a few programming skills in other languages. So I thought, let's read up on PAWN and Amxx Plugin programming a bit. The whole thing seemed a bit strange to me though, so I refused that idea first. But then, I just thought, let's just start, and try how far it'll come.
And yeah, I came far. I programmed sequence for sequence, and after some hours, I had the main structure finished. One day later, I only added a few things and fixes, as well as today. It has 300 lines, a bit more that you may suppose.
Now I'd like to introduce this plugin in this thread, and mention the features.
- The last terrorist alive get's a (personal) notice about his last request. He can call the last request menu with /lr then (and no one other): http://img5.imagebanana.com/img/iv2mxnzx/ms_jailbreak0006.png
- After the /lr, the first menu page appears, where the terrorist can choose between the available last request games: http://img5.imagebanana.com/img/5ujkmmk/ms_jailbreak0000.png
- After his selection, he gets forwarded to the second page, where he can choose an alive CT opponent: http://img5.imagebanana.com/img/mfnzgd77/ms_jailbreak0001.png
- Now the last request game starts. The terrorist glows red and the CT glows blue, so that the terrorist can directly identificate his opponent. The T and CT get automatic health, armor, and weapon. At knife, the weapons get stripped for the terrorist. At shot for shot, the weapon get stripped for the terrorist, and both sides get a full-loaded deagle. At gun toss the weapons get stripped for the terrorist, and both sides get a deagle with 7 shot (to minimize the rebel-potential).
A HUD-Message and chat messages with the game, players, and explanatory notes appears (how to play the game). The /lr-lock get active, so that the terrorist can't make LR within a LR: http://img5.imagebanana.com/img/qula8hr/ms_jailbreak0002.png
- After anyone of these 2 players dies, the game is finished, the glow disappears, the lock get's disabled again and a chat message with the result appears: http://img5.imagebanana.com/img/mf7lcslt/ms_jailbreak0005.png
- The terrorist can continue his last request against other living CTs know, and call /lr again.
Further notes:
- There is also a help page which can be called with /lrhelp, which displays a help page. This page contains further informations, especially about the last request games. The help page can be seen here.
- The script isn't on the server yet, Koyumu will test it tomorrow, and Agito already did so.
- Gun Toss needs to be put as an available game in the rules, but since this was already discussed, it shouldn't be a problem.
- The script can be expanded for other games, if spray contest or something different is added as a valid LR-game.
- The last request can only be made by the last terrorist alive, so that no one abuses it.
- I do not publish the source code of this script or the compiled plugin itself at the moment, as well as the nD server admins. You can ask questions and contact me via mail (mati_ AT zenbe DOT com) though.
- Thanks for people who tested the plugin with me like liz and hibari.
Feel free to ask questions, report bugs, and write feedback about this plugin.
The current last request happens like this:
"Your last request?"
"shot for shot"
"Whats your last request??" (CT didnt read it, because it was gone too fast)
"SHOT FOR SHOT"
"Ok, hp?"
"55hp"
"Ok, let's go heal"
1 min later
"Ok, someone give him a deagle"
20 sec later
"With whom do you want to start?"
"abc."
"Ok let's go"
After he won the s4s:
"Hp?"
"40"
"Ok, knife me twice"
The whole typing, asking, searching and hp procedure is an unnecessary efford - that's why I thought a last request script would be a great thing and a big advancement. I missed that possibility really much. So after a while I created a thread on the forums - that was over one month ago - with that suggestion. Hardly anyone replied in the beginning, but at last Koyumu answered that he will install such a script. I talked with him later, and he told me, he will ask a programmer to do so in a while. Meanwhile, I played with the thought to program such a plugin myself - I have a few programming skills in other languages. So I thought, let's read up on PAWN and Amxx Plugin programming a bit. The whole thing seemed a bit strange to me though, so I refused that idea first. But then, I just thought, let's just start, and try how far it'll come.
And yeah, I came far. I programmed sequence for sequence, and after some hours, I had the main structure finished. One day later, I only added a few things and fixes, as well as today. It has 300 lines, a bit more that you may suppose.
Now I'd like to introduce this plugin in this thread, and mention the features.
- The last terrorist alive get's a (personal) notice about his last request. He can call the last request menu with /lr then (and no one other): http://img5.imagebanana.com/img/iv2mxnzx/ms_jailbreak0006.png
- After the /lr, the first menu page appears, where the terrorist can choose between the available last request games: http://img5.imagebanana.com/img/5ujkmmk/ms_jailbreak0000.png
- After his selection, he gets forwarded to the second page, where he can choose an alive CT opponent: http://img5.imagebanana.com/img/mfnzgd77/ms_jailbreak0001.png
- Now the last request game starts. The terrorist glows red and the CT glows blue, so that the terrorist can directly identificate his opponent. The T and CT get automatic health, armor, and weapon. At knife, the weapons get stripped for the terrorist. At shot for shot, the weapon get stripped for the terrorist, and both sides get a full-loaded deagle. At gun toss the weapons get stripped for the terrorist, and both sides get a deagle with 7 shot (to minimize the rebel-potential).
A HUD-Message and chat messages with the game, players, and explanatory notes appears (how to play the game). The /lr-lock get active, so that the terrorist can't make LR within a LR: http://img5.imagebanana.com/img/qula8hr/ms_jailbreak0002.png
- After anyone of these 2 players dies, the game is finished, the glow disappears, the lock get's disabled again and a chat message with the result appears: http://img5.imagebanana.com/img/mf7lcslt/ms_jailbreak0005.png
- The terrorist can continue his last request against other living CTs know, and call /lr again.
Further notes:
- There is also a help page which can be called with /lrhelp, which displays a help page. This page contains further informations, especially about the last request games. The help page can be seen here.
- The script isn't on the server yet, Koyumu will test it tomorrow, and Agito already did so.
- Gun Toss needs to be put as an available game in the rules, but since this was already discussed, it shouldn't be a problem.
- The script can be expanded for other games, if spray contest or something different is added as a valid LR-game.
- The last request can only be made by the last terrorist alive, so that no one abuses it.
- I do not publish the source code of this script or the compiled plugin itself at the moment, as well as the nD server admins. You can ask questions and contact me via mail (mati_ AT zenbe DOT com) though.
- Thanks for people who tested the plugin with me like liz and hibari.
Feel free to ask questions, report bugs, and write feedback about this plugin.
Mati- Admin
- Number of posts : 876
Age : 33
Birthday : 1991-06-02
Location : Austria
Registration date : 2009-07-20
Re: Mati's Last Request Plugin
so damn awesome Mati!
and no problem ^^
and no problem ^^
Hibari- Number of posts : 2048
Age : 30
Birthday : 1994-07-01
Location : Sweden
Registration date : 2009-08-11
Re: Mati's Last Request Plugin
too long to read because but I did read the first story..
whatever, could be nice yes.
whatever, could be nice yes.
Agent Smith- Number of posts : 2308
Age : 29
Birthday : 1995-04-29
Location : Holland
Registration date : 2009-07-08
Re: Mati's Last Request Plugin
it was fun testing it, cant wait until they get it on nD! good job
Liz- nD* Zombie Member
- Number of posts : 314
Age : 29
Birthday : 1995-06-10
Location : Norway
Registration date : 2009-08-22
Re: Mati's Last Request Plugin
Wow This would be so awesome and save alot of time XD
LongD- nD* Fun Member
- Number of posts : 1208
Age : 29
Birthday : 1995-11-24
Location : Landskrona,Sweden
Job/hobbies : Sprite animating,youtube,Manga,Anime,listening to music,being laze then and then,picking on my brother
Registration date : 2009-08-10
Re: Mati's Last Request Plugin
i hope it isn't causing more svc bads then usual if koy takes it for jail.
Satoko- Number of posts : 1690
Age : 36
Birthday : 1988-02-29
Registration date : 2009-04-11
Re: Mati's Last Request Plugin
Great Plugin to have
I remember iv been on a serv with almost same plugin...
The /lr is nice
I remember iv been on a serv with almost same plugin...
The /lr is nice
Falastiny- Number of posts : 971
Age : 33
Birthday : 1991-07-21
Location : Skåne - Sweden
Registration date : 2009-06-25
Re: Mati's Last Request Plugin
Nice mati
And it seems better than the last one you done
And it seems better than the last one you done
hazik666- nD* Fun Member
- Number of posts : 4838
Age : 1351
Birthday : 0672-12-27
Location : Scotland
Registration date : 2009-02-27
Re: Mati's Last Request Plugin
Mati = win
Marksel- nD* Runner Member
- Number of posts : 3979
Age : 32
Birthday : 1992-02-01
Location : Holland
Job/hobbies : Owning you!
Registration date : 2009-08-19
Re: Mati's Last Request Plugin
I tested it with Mati, and I'm not a big fan of it if im honest, I told him why, and i figured id post it here aswell.
The idea behind it is GREAT, no doubt about that.
But i simply don't see the problem with typing in the first place.
Second, I think it could be abused, for example when there is 1 guy alive, hiding somewhere, he could do /lr and choose shot for shot, and he just gives himself a gun.
Third, its a bit the same as last, But while doing last request, i T would unexpectedly get a gun, which i'm not really a fan off, Ts need a challenge.
Forth, I'm sure there was a forth, but i cant seem to remember! i might edit it later.
Final note: Thanks alot Mati for putting effort in creating something for our servers
ooh here is my first edit: I wouldn't have a problem with it if it would get added on the server anyway but I don't think its really nessecary
The idea behind it is GREAT, no doubt about that.
But i simply don't see the problem with typing in the first place.
Second, I think it could be abused, for example when there is 1 guy alive, hiding somewhere, he could do /lr and choose shot for shot, and he just gives himself a gun.
Third, its a bit the same as last, But while doing last request, i T would unexpectedly get a gun, which i'm not really a fan off, Ts need a challenge.
Forth, I'm sure there was a forth, but i cant seem to remember! i might edit it later.
Final note: Thanks alot Mati for putting effort in creating something for our servers
ooh here is my first edit: I wouldn't have a problem with it if it would get added on the server anyway but I don't think its really nessecary
Chasin- Number of posts : 845
Age : 36
Birthday : 1988-05-27
Location : Holland
Registration date : 2009-08-20
Re: Mati's Last Request Plugin
Even though last request isn't exactly the biggest problem when it comes to time consuming games, but still this plugin should get us alteast 1 more round per map, and alot less whine 'OMFG JUST KILL HIM FFS'
Marksel- nD* Runner Member
- Number of posts : 3979
Age : 32
Birthday : 1992-02-01
Location : Holland
Job/hobbies : Owning you!
Registration date : 2009-08-19
Re: Mati's Last Request Plugin
I listed the problems detailed in my first post.Chasin wrote:But i simply don't see the problem with typing in the first place.
The terrorist can also get "himself a gun" with requesting a gun for shot for shot. No argument.Second, I think it could be abused, for example when there is 1 guy alive, hiding somewhere, he could do /lr and choose shot for shot, and he just gives himself a gun.
A red HUD-Message and 3 Chat Messages appears on /lr, informing about that. I wouldn't called that "unexpectedly". And if any CT dont know that they both get auto-equipped, he will see that after one time.Third, its a bit the same as last, But while doing last request, i T would unexpectedly get a gun, which i'm not really a fan off, Ts need a challenge.
I really don't see the point of your arguments, because as well as at the moment the last T can request a weapon, but it costs much more unecessary time, brings more chaos, and is more complicated with all those questions, weapon dropping and healing.
Mati- Admin
- Number of posts : 876
Age : 33
Birthday : 1991-06-02
Location : Austria
Registration date : 2009-07-20
Re: Mati's Last Request Plugin
I think he should get a month V-I-P because this plugin looks amazing and will help people on server
hazik666- nD* Fun Member
- Number of posts : 4838
Age : 1351
Birthday : 0672-12-27
Location : Scotland
Registration date : 2009-02-27
Re: Mati's Last Request Plugin
it could come handy
Aokiji*- Number of posts : 111
Age : 35
Birthday : 1989-07-21
Location : Belgium
Job/hobbies : cs4life
Registration date : 2009-08-05
Re: Mati's Last Request Plugin
yeah.. Mati should get a month V-I-P!
Hibari- Number of posts : 2048
Age : 30
Birthday : 1994-07-01
Location : Sweden
Registration date : 2009-08-11
Re: Mati's Last Request Plugin
I think this takes "too much out"...
like stripping guns on knife duel, it's pretty funny if the ct's fail and get shot over.
like stripping guns on knife duel, it's pretty funny if the ct's fail and get shot over.
BBQQ- Number of posts : 125
Age : 33
Birthday : 1991-02-06
Registration date : 2009-07-23
Re: Mati's Last Request Plugin
The plugin is on the server now. I was the first one who made usage of it.
Surprisingly the names of some CTs on the second page (where you choose the opponent) weren't displayed. After the selection the red HUD-Message displayed the name though. The index-ID's where also correct, so that the script processed the right player, only some names on the second page werent't visible. Maybe it was only this time, we'll see if this problem exists. On a fresh local server the opponent-page was without problems, irrespective how much alive CTs there are.
Surprisingly the names of some CTs on the second page (where you choose the opponent) weren't displayed. After the selection the red HUD-Message displayed the name though. The index-ID's where also correct, so that the script processed the right player, only some names on the second page werent't visible. Maybe it was only this time, we'll see if this problem exists. On a fresh local server the opponent-page was without problems, irrespective how much alive CTs there are.
Mati- Admin
- Number of posts : 876
Age : 33
Birthday : 1991-06-02
Location : Austria
Registration date : 2009-07-20
Re: Mati's Last Request Plugin
the deagle of gun toss should be empty, because I have seen you abuse it, you got the deagle and shot the last counter terrorist with it.
deagle must be EMPTY!
deagle must be EMPTY!
Agent Smith- Number of posts : 2308
Age : 29
Birthday : 1995-04-29
Location : Holland
Registration date : 2009-07-08
Re: Mati's Last Request Plugin
That's not right agent smith, I have won the gun toss. I thought 7 shots would be ok, because the terrorist can kill the CT than faster when he looses. And if he just shoots altough he didn't loose it's rebelling -> other CTs can kill him.
Mati- Admin
- Number of posts : 876
Age : 33
Birthday : 1991-06-02
Location : Austria
Registration date : 2009-07-20
Re: Mati's Last Request Plugin
when knifing you can pick up a gun and shoot the other person is it possible to fix it?
hazik666- nD* Fun Member
- Number of posts : 4838
Age : 1351
Birthday : 0672-12-27
Location : Scotland
Registration date : 2009-02-27
Re: Mati's Last Request Plugin
You hardly can prevent that someone picks up a gun. A terrorist can always rebel on last request, you can't prevent that. That's why other CT should watch him, so they can react.
Mati- Admin
- Number of posts : 876
Age : 33
Birthday : 1991-06-02
Location : Austria
Registration date : 2009-07-20
Re: Mati's Last Request Plugin
There is some bug with choosing CT players I have heard...
Agent Smith- Number of posts : 2308
Age : 29
Birthday : 1995-04-29
Location : Holland
Registration date : 2009-07-08
Re: Mati's Last Request Plugin
Yep, as mentioned in this post, this problem continues existing, but I think I know the cause of this problem now.
Technically, each player has an index ID from 1 to 32. With that IDs you work when you set properties on a player. To get the name of a player you use a "lookup" with the function "get_user_name". Now, in the menu function there's a list of all index IDs of alive CTs, and via a loop, each ID gets translated to the player name.
After that, a menu entry is added with the player name and his index ID. That works without problem on my local testserver, and also on the nD server at 5AM in the morning, so it seems, the server performance is amongst the day too bad, to handle this multiple "playername lookup" fast enough, so nothing but the menu number get's displayed after the first name. The player lookup later, when the opponent is chosen, is without problems again, because it is only one lookup.
The script itself doesn't get affected by this, because it works everywhere with these index IDs, only the multiple lookup of the playername is. I personally find it strange, that amxx doesn't "pause" the script, until the lookup is really finished.
I'll think of a possibility to fix that.
Technically, each player has an index ID from 1 to 32. With that IDs you work when you set properties on a player. To get the name of a player you use a "lookup" with the function "get_user_name". Now, in the menu function there's a list of all index IDs of alive CTs, and via a loop, each ID gets translated to the player name.
After that, a menu entry is added with the player name and his index ID. That works without problem on my local testserver, and also on the nD server at 5AM in the morning, so it seems, the server performance is amongst the day too bad, to handle this multiple "playername lookup" fast enough, so nothing but the menu number get's displayed after the first name. The player lookup later, when the opponent is chosen, is without problems again, because it is only one lookup.
The script itself doesn't get affected by this, because it works everywhere with these index IDs, only the multiple lookup of the playername is. I personally find it strange, that amxx doesn't "pause" the script, until the lookup is really finished.
I'll think of a possibility to fix that.
Mati- Admin
- Number of posts : 876
Age : 33
Birthday : 1991-06-02
Location : Austria
Registration date : 2009-07-20
Re: Mati's Last Request Plugin
is the plugin going to be public?
J3FFR3Y- Number of posts : 1
Age : 34
Birthday : 1990-05-04
Registration date : 2009-10-15
Page 1 of 3 • 1, 2, 3
Page 1 of 3
Permissions in this forum:
You cannot reply to topics in this forum