Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Matthew Padilla

Pages: 1 ... 31 32 33 34 35 [36]
526
Title says it all

527
Drama / Re: Wound
« on: May 25, 2013, 09:46:40 PM »
he didn't type a valid console command
IIRC he didn't use findFirstFile()
Either you deleted evidence or you are just flat out lying.
it would have given either an error or something that looks like

Works with eval too


528
Check for the function's existence:
Code: [Select]
if(isFunction(%client, "isModerator"))
{
    ...
}
Thanks, I didn't know I could do this.

529
Moderator is still in there.

Also it doesn't require moderator to work. It does support it yes but it would work perfectly well without it.
Fixed, I was thinking it would make a syntax error if Moderator was not installed because I call isModerator in the script

530
Off Topic / Re: My computer wont exactly start up
« on: May 23, 2013, 10:19:08 PM »
The beeping could be a failing power supply or hard drive. I don't know this for a fact so please don't go and buy a new one based off of my statement. This happened to my computer a few years back.

531
You know you don't need to put the entire moderator script inside it.
Ok, I will take it out and just include it in the download bar

532
~edit~

533
Off Topic / Re: Help with External Hard Drive
« on: May 23, 2013, 07:30:25 PM »
The other space might be unallocated, you can try using Paragon disk manager to merge the partitions and resize them to use all of the unallocated space.

534
cause politics.

Anyways, this is nice. Good job.
Thanks

Why not use the white list addon?
Using a whitelist add-on would result in you changing the whitelist every single time you want a different player to connect. With this just make them admin, much less work for you.

535
~~~~~~~~RESERVED~~~~~~~~

536
AdminOnly
Written By: Matthew Padilla

Suggestions go in my email, matthew.p@k.st

Versions:
  • 0.9 - Originally coded on 5/21/13
  • 1.0 - First release 5/22/13
  • 1.1 - 5/22/13
  • 1.2 - 5/23/13 Added support for Moderators
  • 1.2.1 - 5/24/13
  • 1.2.2 - 5/25/13
  • 1.2.3 - 5/26/13

Bug Fixes:
  • 0.9 - Made the autoAdminCheck function inoperable.
  • 1.0 - Function is fixed by Zeblote
  • 1.1 - Removed package on ActivateAO();
  • 1.2 - No bugs
  • 1.2.1 - Removed Tezuni's script inside of AdminOnly, made autocheck
  • 1.2.2 - Added RTB Prefs, 1 is ON 2 is OFF
  • 1.2.3 - Fixed RTB prefs added MessageBox

Commands:
  • /AdminOnlyactivate - Turns AdminOnly on and off
  • RTB Pref - 1 is ON 2 is OFF

Description:
  • This is used when having a password is just too much of a hassle. All of your admins can now join without having to enter that pesky password every single time! Anyone that is not an admin and tries to connect will be kicked. Also supports Tezunis' Moderator script.


537
Modification Help / Re: Errors causing delay of autoAdminCheck
« on: May 22, 2013, 04:36:50 PM »
Thanks Zeblote, it worked.

538
Modification Help / Errors causing delay of autoAdminCheck [FIXED]
« on: May 22, 2013, 04:18:43 PM »
I was trying to make a script so if you are not an admin while the package was enabled you would be removed from the server upon connect. For some reason when I typed it up I have no syntax errors but it kicks all players before the server can even check if you are an admin.

Source Code

Code: [Select]
package AdminOnly
{
   function GameConnection::autoAdminCheck(%client)
   {
      if(%client.isSuperAdmin)
      {
         return "";
      }
      else
      {
         messageAll(%client.name @ " has been blocked from the server.");
         %client.delete("Admin Only is blocking you from joining this server.");
         echo("A player has been blocked from joining the server.");
      }
   }
};
activatePackage(AdminOnly);

Console Log

Code: [Select]
Got connect request from IPX:00000000:000000000000:0
  net name = Matthew Padilla
Connection established
Connected successfully, killing other pending connections
AUTHCHECK: Matthew Padilla = LAN client -> internet server, auth with server ip
246 add-ons found.
Auth Init Successfull: Matthew Padilla
CADD: 14284 local
 +- bl_id = 42931
 +- no auto admin
*** Sending mission load to client:
Posting to master server
Posting to rtb server
*** New Mission
*** Phase 1: Download Datablocks & Targets
Received manifest and requested 646 blobs. (255 duplicates removed)
Got non-CURLE_OK result on a request, result was 3 'URL using bad/illegal format or missing URL'
 - Request was for ''
Got non-CURLE_OK result on a request, result was 3 'URL using bad/illegal format or missing URL'
 - Request was for ''
Got non-CURLE_OK result on a request, result was 3 'URL using bad/illegal format or missing URL'
 - Request was for ''
Got non-CURLE_OK result on a request, result was 3 'URL using bad/illegal format or missing URL'
 - Request was for ''
Got non-CURLE_OK result on a request, result was 3 'URL using bad/illegal format or missing URL'
 - Request was for ''
Got non-CURLE_OK result on a request, result was 3 'URL using bad/illegal format or missing URL'
 - Request was for ''
Got non-CURLE_OK result on a request, result was 3 'URL using bad/illegal format or missing URL'
 - Request was for ''
Got non-CURLE_OK result on a request, result was 3 'URL using bad/illegal format or missing URL'
 - Request was for ''
CDN Download finished
Could not locate texture: base/data/shapes/player/Add-Ons/Face_Jirue/KleinerSmiley (download failed, using default texture)
  +- using blank texture
Could not locate texture: base/data/shapes/player/Add-Ons/Decal_Default/Space-Old (download failed, using default texture)
  +- using blank texture
*** Phase 2: Download Ghost Objects
*** Phase 3: Mission Lighting
Mission lighting done
Executing config/client/Favorites.cs.
Matthew Padilla spawned.
Got Connect challenge Request from 76.250.77.218:33635
Got connect request from 76.250.77.218:33635
  net name = Matthew Padilla
AUTHCHECK: Matthew Padilla = internet client -> internet server, regular auth
Auth Init Successfull: Matthew Padilla
CADD: 15504 76.250.77.218:33635
 +- bl_id = 42931
A player has been blocked from joining the server.
 +- no auto admin
*** Sending mission load to client:
Posting to master server
Posting to rtb server
Issuing Disconnect packet.
CDROP: 15504 76.250.77.218:33635

base/server/mainServer.cs (671): Unable to find object: '' attempting to call function 'killDupes'
BackTrace: ->servAuthTCPobj::onLine


base/server/mainServer.cs (674): Unable to find object: '' attempting to call function 'schedule'
BackTrace: ->servAuthTCPobj::onLine

This was testing while on my own server, joining on multiple clients.

Pages: 1 ... 31 32 33 34 35 [36]