526
Modification Help / What is the function to stop the download of the mission to Client? [FIXED]
« on: May 26, 2013, 03:09:18 PM »
Title says it all
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.
he didn't type a valid console commandEither you deleted evidence or you are just flat out lying.
IIRC he didn't use findFirstFile()
it would have given either an error or something that looks like
Works with eval too
Check for the function's existence:Thanks, I didn't know I could do this.Code: [Select]if(isFunction(%client, "isModerator"))
{
...
}
Moderator is still in there.Fixed, I was thinking it would make a syntax error if Moderator was not installed because I call isModerator in the script
Also it doesn't require moderator to work. It does support it yes but it would work perfectly well without it.
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
cause politics.Thanks
Anyways, this is nice. Good job.
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.
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);
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