Author Topic: AWarn2 - Advanced Warning Module  (Read 384494 times)

0 Members and 1 Guest are viewing this topic.

Offline Sir.N00bzUhlot

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: AWarn2 - Advanced Warning Module
« Reply #135 on: November 29, 2014, 06:59:55 PM »
Can you post this script on scriptfodder since coderhire is down?

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: AWarn2 - Advanced Warning Module
« Reply #136 on: November 29, 2014, 07:28:18 PM »
Just download it here for free. There's a download link in the main post. You need to be logged in to see it.

Offline Pugga

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: AWarn2 - Advanced Warning Module
« Reply #137 on: December 07, 2014, 03:18:20 AM »
Hi can u give me the download link? For some reason i logged in and it still says "U need to be logged in these forum in order to see the download link."

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: AWarn2 - Advanced Warning Module
« Reply #138 on: December 07, 2014, 03:26:06 AM »
File is attached to the post. There isn't another download link.
Just make sure you have cookies enabled and are logged into the forums.

Offline [ImpactGaming] Kehl

  • Newbie
  • *
  • Posts: 1
  • Karma: -1
Re: AWarn2 - Advanced Warning Module
« Reply #139 on: December 13, 2014, 10:39:58 AM »
Im logged in but cant see the download link! HELP!

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: AWarn2 - Advanced Warning Module
« Reply #140 on: December 13, 2014, 12:49:24 PM »
To everyone having trouble with download links:

bw81@ulysses-forums ~ % whoami
Homepage

Offline Steffion

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: AWarn2 - Advanced Warning Module
« Reply #141 on: December 19, 2014, 09:21:11 AM »
Hello Mr. President,

Thanks for making this awesome add-on ;)!
I would like to report a bug or request a change on the god mode module.
When you're godded and you slay someone or yourself you also get a warning.
Would it be possible to change that?

Thanks!

Offline Pugga

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: AWarn2 - Advanced Warning Module
« Reply #142 on: December 20, 2014, 08:29:00 AM »
How can make slay next round thresold? (example 2 warns autoslay next round).

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: AWarn2 - Advanced Warning Module
« Reply #143 on: December 20, 2014, 08:36:52 AM »
Pugga, you'd have to create your own code.
This addon only tracks for you, the admin who can warn.
If it sees the player has enough warnings, all it does is kick them.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Pugga

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: AWarn2 - Advanced Warning Module
« Reply #144 on: December 20, 2014, 09:40:20 AM »
Can you or Mr.President give me the code because i suck in lua atm. Please :) ?

Offline kulcris

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
Re: AWarn2 - Advanced Warning Module
« Reply #145 on: December 23, 2014, 10:09:22 AM »
Please add a button to remove last warning (super admin)

Offline ChosenOne

  • Newbie
  • *
  • Posts: 10
  • Karma: 1
Re: AWarn2 - Advanced Warning Module
« Reply #146 on: December 27, 2014, 03:36:34 PM »
Is there a way that I can access the active warning level of a player in integer form? I'm writing a command that will enact different punishments based on a players current active warning level.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: AWarn2 - Advanced Warning Module
« Reply #147 on: December 27, 2014, 05:34:09 PM »
I don't have the code in front of me at the moment, but I am pretty sure I wrote a function to return just that.
If you look through the code you might be able to find it. If you still need help, I can look through it once I get home Monday. Just let me know.

Offline ChosenOne

  • Newbie
  • *
  • Posts: 10
  • Karma: 1
Re: AWarn2 - Advanced Warning Module
« Reply #148 on: December 27, 2014, 06:48:18 PM »
I think I may have found it. There is a function called that awarn_getwarnings that takes a player and returns a number. I'll see if I can use that. I'm a little new to advanced Lua, will I be able to use that function outside of the awarn files? I'm going to try incorporating it into a custom ULX command that I'm writing. Also, are you still working on making the MySQL usable? Because that would be very nice to have.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: AWarn2 - Advanced Warning Module
« Reply #149 on: December 27, 2014, 10:44:43 PM »
I have stopped working on the MySQL module for this actively. I may pick it back up at some point, but for now I'm not.

The function you found looks like it. I think that will work for you.