Testing 'AprilonScript' on the sandbox server
36 replies
May 9, 2010, 03:08 PM#1
Current Revision on server: 35.
This thread is closed. If you have any questions or whatever, create a new thread
http://twitter.com/apndev
Revision 32
Fixed err on E2 scan.
Cleaned some serversided code.
Revision 31
Fixed gStream for GMod12.
Webkit testpanel cmd.
Revision 30
Added 3D2D ad/text to construct and wireconstruct.
Revision 29
Added gatekeeper for gmod12.
Fixed ap_fakedc, final.
Reserved girl and dev tags for real girls/devs.
Fixed hud/nametag to not show red if tag is guest.
Revision 28
Fixed typo in ap_fakedc.
Added gatekeeper, tmysql and libmysql files in required folder.
Revision 27
Added cmd ap_fakedc to allow admins to fake disconnects.
Nametag doesn't turn red on admins if their tag is 'guest'.
Revision 26
Added cmd ap_e2chips to give a list of spawned E2.
Changed 3D2D to only work on gm_flatgrass.
Fixed ranks being overwritten when new VIP was on the server while donating.
Revision 25
Added Lamp hat.
Added 3D2D text by spawn.
Moved tag textures to client file.
Changed method to get hostname in scoreboard.
Changed tag setting command to output valid tag args on invalid arg.
Revision 24
Admins can now change their own tag.
Fixed E2 chip scanner.
Revision 23
Added Headcrab hat.
Added translations to E2 scan.
Added !vipmenu chatcmd.
Added notices for roping.
Fixed meta:IsVIP() and meta:IsDJ() to return true on any value over 1.
Revision 22
Added scanning for Drunken Combine and Balls of Steel E2 chips.
Revision 21
Players can now locally clear decals with !cleardecals.
Revision 20
Fixed an issue where ply:IsVIP() wouldn't return correct boolean based on ap_isvip.
Revision 19
Added chat.AddText override.
Edited some rules.
Changed method in APN.GetNumClientsByLua.
Revision 18
Fixed error on rules list.
Fixed chatbox to show real d/c message.
Added func APN.OpenGroupChat.
Revision 17
Added ply:IsDJ() (base).
Added APN.OpenSteamGroup().
Updated advertisements and some menus.
Ranks are now set lastly.
Revision 16
No update notes.
Revision 15
Added a temp. fix due to a conflict between realfake and gatekeeper causing a crash.
----------------------- OLD TEXT -------------------------
I've decided to test something I call "aprilonscript" on the sandbox server since I have no other server to test it on.
Here's some things it'll have (some info may be technical)
Server
* Added chatbubble to indicate that a player is typing
* Rewrote advertisements
* Rewrote chat commands
* Rewrote max scripted entities limiter
* Rewrote dynamic spawns
* Playerdata is now stored and collected in a MySQL database (this handles ranks and tags etc, so it'll be useful if we get more servers)
Shared
* Added easy functions: ply:IsVIP(), ply:IsDev() and such
Client
* Added notification if you do not have WireMod or PHX model pack
* Fixed potential crashes when viewing donation info (F2)
* Rewrote scoreboard
* Rewrote chatbox
* Rewrote some parts of the HUD
* Added DJ tag for future use
gStream
* Fixed errors upon initialspawn
* HUD is now hooked to ScoreboardShow and ScoreboardHide and will fade in/out
Tags are now handled by the MySQL script, which means that they'll always show regardless if ULX decides to drop out.
Currently they're sent in the form of networked strings, but I'll soon convert them into IDs to make the networking better.
By fetching and storing data with MySQL, it'll allow us to do some automation with IPN (paypal), as well as store statistical data such as number of connects and total time connected (which I have already added).
The stuff that's missing is what I'll add in the coming days/weeks
This thread is closed. If you have any questions or whatever, create a new thread
http://twitter.com/apndev
Revision 32
Fixed err on E2 scan.
Cleaned some serversided code.
Revision 31
Fixed gStream for GMod12.
Webkit testpanel cmd.
Revision 30
Added 3D2D ad/text to construct and wireconstruct.
Revision 29
Added gatekeeper for gmod12.
Fixed ap_fakedc, final.
Reserved girl and dev tags for real girls/devs.
Fixed hud/nametag to not show red if tag is guest.
Revision 28
Fixed typo in ap_fakedc.
Added gatekeeper, tmysql and libmysql files in required folder.
Revision 27
Added cmd ap_fakedc to allow admins to fake disconnects.
Nametag doesn't turn red on admins if their tag is 'guest'.
Revision 26
Added cmd ap_e2chips to give a list of spawned E2.
Changed 3D2D to only work on gm_flatgrass.
Fixed ranks being overwritten when new VIP was on the server while donating.
Revision 25
Added Lamp hat.
Added 3D2D text by spawn.
Moved tag textures to client file.
Changed method to get hostname in scoreboard.
Changed tag setting command to output valid tag args on invalid arg.
Revision 24
Admins can now change their own tag.
Fixed E2 chip scanner.
Revision 23
Added Headcrab hat.
Added translations to E2 scan.
Added !vipmenu chatcmd.
Added notices for roping.
Fixed meta:IsVIP() and meta:IsDJ() to return true on any value over 1.
Revision 22
Added scanning for Drunken Combine and Balls of Steel E2 chips.
Revision 21
Players can now locally clear decals with !cleardecals.
Revision 20
Fixed an issue where ply:IsVIP() wouldn't return correct boolean based on ap_isvip.
Revision 19
Added chat.AddText override.
Edited some rules.
Changed method in APN.GetNumClientsByLua.
Revision 18
Fixed error on rules list.
Fixed chatbox to show real d/c message.
Added func APN.OpenGroupChat.
Revision 17
Added ply:IsDJ() (base).
Added APN.OpenSteamGroup().
Updated advertisements and some menus.
Ranks are now set lastly.
Revision 16
No update notes.
Revision 15
Added a temp. fix due to a conflict between realfake and gatekeeper causing a crash.
----------------------- OLD TEXT -------------------------
I've decided to test something I call "aprilonscript" on the sandbox server since I have no other server to test it on.
Here's some things it'll have (some info may be technical)
Server
* Added chatbubble to indicate that a player is typing
* Rewrote advertisements
* Rewrote chat commands
* Rewrote max scripted entities limiter
* Rewrote dynamic spawns
* Playerdata is now stored and collected in a MySQL database (this handles ranks and tags etc, so it'll be useful if we get more servers)
Shared
* Added easy functions: ply:IsVIP(), ply:IsDev() and such
Client
* Added notification if you do not have WireMod or PHX model pack
* Fixed potential crashes when viewing donation info (F2)
* Rewrote scoreboard
* Rewrote chatbox
* Rewrote some parts of the HUD
* Added DJ tag for future use
gStream
* Fixed errors upon initialspawn
* HUD is now hooked to ScoreboardShow and ScoreboardHide and will fade in/out
Tags are now handled by the MySQL script, which means that they'll always show regardless if ULX decides to drop out.
Currently they're sent in the form of networked strings, but I'll soon convert them into IDs to make the networking better.
By fetching and storing data with MySQL, it'll allow us to do some automation with IPN (paypal), as well as store statistical data such as number of connects and total time connected (which I have already added).
The stuff that's missing is what I'll add in the coming days/weeks
May 9, 2010, 03:34 PM#2
This is good but I have 1 question.
Can we now copy&paste from the chat box?
Can we now copy&paste from the chat box?
May 9, 2010, 04:00 PM#3
This is good but I have 1 question.
Can we now copy&paste from the chat box?
No, it's still painted. Might give a try on converting it into a panel?
May 14, 2010, 01:52 PM#4
Already over 1,000 players stored in the database!
Also, if you're interested: http://twitter.com/apndev
Also, if you're interested: http://twitter.com/apndev
May 16, 2010, 02:51 AM#5
What do you guys think? http://karlicious.net/dump/vipmenu.png
May 16, 2010, 07:41 AM#6
Looks awesommee.
. But can you just wear 1 hat at a time or does it stack?
May 16, 2010, 10:19 AM#7
More to the point, how does one bring up the hats menu?
May 16, 2010, 10:28 AM#8
Looks awesommee.. But can you just wear 1 hat at a time or does it stack?
You can only wear one hat at a time.
More to the point, how does one bring up the hats menu?
It's not on the server yet, but you'll be able to open it with F3 as soon as it becomes available.
" Rev. 9 committed by Karl Labrador Done 30% of VIP menu. Added Hats to VIP menu. Added IDs to hats table. Fixed potential ..." from Twitter
May 16, 2010, 11:27 AM#9
Thats Good, but I think we should leave a hat for the admins that the VIP's don't get. Just for some difference between them.
Like most people know that the bucket hat is for admins, so if VIP's start getting it people may become confused.
Like most people know that the bucket hat is for admins, so if VIP's start getting it people may become confused.
May 16, 2010, 11:35 AM#10
That's a good suggestion actually.
May 16, 2010, 12:15 PM#11
Added check in the table and shit so we can limit more hats with ease if desired!
May 16, 2010, 12:34 PM#12
Fixed reserved slots:
AprilonScript will now precache VIP steam IDs into a table on every map start/server (re)start.
Upon connection it'll check if the server is full 12/12, if it is full, it'll check for a match.
AprilonScript will now precache VIP steam IDs into a table on every map start/server (re)start.
Upon connection it'll check if the server is full 12/12, if it is full, it'll check for a match.
May 18, 2010, 01:15 AM#13
Hat menu is ready and working! I'm going to finish the settings menu before putting latest updates to the server.
Fixed hats translations returning incorrect value.
Added Melonhead hat.
Added Monitor hat.
Added Hatless option.
Added concommand to immed. add new VIPs to cache (for webserver to send by rcon).
Fixed hats translations returning incorrect value.
Added Melonhead hat.
Added Monitor hat.
Added Hatless option.
Added concommand to immed. add new VIPs to cache (for webserver to send by rcon).
May 18, 2010, 01:17 AM#14
Ah cool. Btw, BAN IS BROKEN! 
May 18, 2010, 01:29 AM#15
Ah cool. Btw, BAN IS BROKEN!
I'll try doing this with MySQL. I just have to read for a secure way of doing this.
http://www.facepunch.com/showthread.php?t=695636&page=3 if you're interested.
May 18, 2010, 08:36 PM#16
Bugs in Revision 15:
* Server crashes if you ban or kick yourself by chat command (don't try this).
* gatekeeper.GetNumClients() needs a more accurate replacement.
* Server crashes if you ban or kick yourself by chat command (don't try this).
* gatekeeper.GetNumClients() needs a more accurate replacement.
May 18, 2010, 09:52 PM#17
Fixed an issue where an admin could crash the server by kicking/banning themselfs.
It'll now stop !kick and !ban (from being outputted into chat).
Also, I might not work as much on these things this week as I have to study for my math exams.
It'll now stop !kick and !ban (from being outputted into chat).
Also, I might not work as much on these things this week as I have to study for my math exams.

May 20, 2010, 01:05 AM#18
I'm experiencing issues, I just reformatted my machine and did a complete clean reinstall of Windows and etc...
My admin tag does not display, and I hear no music coming from the F4 jukebox. Also I get this in the console.
ULX version 0 loaded. Version 0? WTF.
My admin tag does not display, and I hear no music coming from the F4 jukebox. Also I get this in the console.
ULX version 0 loaded. Version 0? WTF.
May 20, 2010, 02:01 AM#19
I'm experiencing issues, I just reformatted my machine and did a complete clean reinstall of Windows and etc...
My admin tag does not display, and I hear no music coming from the F4 jukebox. Also I get this in the console.
ULX version 0 loaded. Version 0? WTF.
I don't know why your admin tag won't display, it could be many reasons.
You need flashplayer for IE for jukebox to work.
Version 0 is intentional, it's a static value that I had to put because in one of the GMod updates file.Read() wasn't allowed to read from svn files anymore.
May 20, 2010, 02:24 AM#20
Bah, stupid IE. Flash player is installed for it now. I'm still at a loss as to why my admin tag won't display, despite the fact I still have powers.