The following warnings occurred:
Warning [2] Trying to access array offset on null - Line: 198 - File: inc/plugins/google_seo.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo.php 198 errorHandler->error_callback
/inc/plugins/google_seo/redirect.php 131 google_seo_tid
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined property: DB_MySQLi::$google_seo_query_limit - Line: 232 - File: inc/plugins/google_seo.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo.php 232 errorHandler->error_callback
/inc/plugins/google_seo/redirect.php 131 google_seo_tid
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Decrement on type null has no effect, this will change in the next major version of PHP - Line: 232 - File: inc/plugins/google_seo.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo.php 232 errorHandler->error_callback
/inc/plugins/google_seo/redirect.php 131 google_seo_tid
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined array key 1 - Line: 287 - File: inc/plugins/google_seo/redirect.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/redirect.php 287 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined array key 1 - Line: 288 - File: inc/plugins/google_seo/redirect.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/redirect.php 288 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined array key "" - Line: 301 - File: inc/plugins/google_seo/redirect.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/redirect.php 301 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined array key "" - Line: 308 - File: inc/plugins/google_seo/redirect.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/redirect.php 308 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined variable $change - Line: 345 - File: inc/plugins/google_seo/redirect.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo/redirect.php 345 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once




Building script
#31
so this should be better? :
Code:
[Setup] AppName=MC-Server AppVersion=R1052 DefaultDirName={commonappdata}\FakeTruth\MC-Server DefaultGroupName=MC-Server UninstallDisplayIcon={app}\MCServer.exe Compression=lzma2 SolidCompression=yes OutputDir=userdocs:MC-Server [Files] Source: "mcserver.exe"; DestDir: "{app}" Source: "Configuration.bat"; DestDir: "{app}" Source: "crafting.txt"; DestDir: "{app}" Source: "furnace.txt"; DestDir: "{app}" Source: "groups.ini"; DestDir: "{app}" Source: "items.ini"; DestDir: "{app}" Source: "monsters.ini"; DestDir: "{app}" Source: "settings.ini"; DestDir: "{app}" Source: "terrain.ini"; DestDir: "{app}" Source: "users.ini"; DestDir: "{app}" Source: "webadmin.ini"; DestDir: "{app}" Source: "Plugins\SquirrelChatLog.nut"; DestDir: "{app}\Plugins" Source: "Plugins\Core\ban.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\coords.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\gamemode.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\gotoworld.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\help.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\item.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\kick.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\main.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\motd.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\onblockdig.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\onblockplace.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\oncraftingnorecipe.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\onkilled.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\onlogin.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\onplayerjoin.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\playerlist.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\pluginlist.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\regeneratechunk.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\reload.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\spawn.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\stop.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\teleport.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\time.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\top.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\unban.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\viewdistance.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\web_chat.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\web_manageplugins.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\web_permissions.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\web_playerlist.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\web_serversettings.lua"; DestDir: "{app}\Plugins\core" Source: "Plugins\Core\web_whitelist.lua"; DestDir: "{app}\Plugins\core" Source: "webadmin\template.html"; DestDir: "{app}\Plugins\core" [Run] Filename: "{app}\Configuration.bat"; Description: "Launch de Configurator"; [Icons] Name: "{commondesktop}\MCServer"; Filename: "{app}\mcserver.exe"; WorkingDir: "{app}"
Reply
Thanks given by:
#32
Why not do Source: "Plugins\Core*.lua" that should work thought xoft already told you that.
Reply
Thanks given by:
#33
Better, but still no wildcards

EDIT: Too slow Wink
Reply
Thanks given by:
#34
Code:
[Setup] AppName=MC-Server AppVersion=R1052 DefaultDirName={commonappdata}\FakeTruth\MC-Server DefaultGroupName=MC-Server UninstallDisplayIcon={app}\MCServer.exe Compression=lzma2 SolidCompression=yes OutputDir=userdocs:MC-Server [Files] Source: "mcserver.exe"; DestDir: "{app}" Source: "Configuration.bat"; DestDir: "{app}" Source: "crafting.txt"; DestDir: "{app}" Source: "furnace.txt"; DestDir: "{app}" Source: "groups.ini"; DestDir: "{app}" Source: "items.ini"; DestDir: "{app}" Source: "monsters.ini"; DestDir: "{app}" Source: "settings.ini"; DestDir: "{app}" Source: "terrain.ini"; DestDir: "{app}" Source: "users.ini"; DestDir: "{app}" Source: "webadmin.ini"; DestDir: "{app}" Source: "Plugins\SquirrelChatLog.nut"; DestDir: "{app}\Plugins" Source: "Plugins\Core\*.lua"; DestDir: "{app}\Plugins\core" Source: "webadmin\template.html"; DestDir: "{app}\webadmin" [Run] Filename: "{app}\Configuration.bat"; Description: "Launch de Configurator"; [Icons] Name: "{commondesktop}\MCServer"; Filename: "{app}\mcserver.exe"; WorkingDir: "{app}"
Smile
(11-21-2012, 05:54 AM)xoft Wrote: EDIT: Too slow Wink

what do you mean?
Reply
Thanks given by:
#35
Yea another updateBig Grin
changelog:
Quote:- fixed a bug where it didn't import "Address=/game/checkserver.jsp?user=%USERNAME%&serverId=%SERVERID%" into the settings.ini
- you now get a message with Y/N questions to prevent errors.     (ja=yes nee=no)
EDIT:
another huge function:
- it checks if TortoiseSVN and Microsoft Visual 2008 are installed and if not it asks you if you want to download it. if you press yes it will download automaticly if you press no it will stop.
and it checks if you have a 32 bit version of windows or a 64 bit version while downloading.
Smile hope you like it Smile
Reply
Thanks given by:
#36
i created a repository. it also has a bug tracker so if someone finds a bug, please post it. in the repository you can find the latest version. https://code.google.com/p/mc-server-build-script/
Reply
Thanks given by:
#37
Nice Smile
Useless, but niceBig Grin
Reply
Thanks given by:
#38
well i tought if nobody wil post something for days il make a reason for posting something Smile
Reply
Thanks given by:
#39
True, true.
Reply
Thanks given by:
#40
i can't believe how usefull these scripts areBig Grin
I now have a script that collects all the PDB files, the crashdumps and the MCServer.exe and put them into a .zip and then copy that into a dropbox folder so i can just copy the link and give it to people.
i also have a script that opens MCServer_Debug.exe and when i use /stop the script deletes the region folder recompiles the server and starts the server again. I am now using that to find out if i can make the Desert Hills a bit more like Minecraft Smile
Reply
Thanks given by:




Users browsing this thread: 2 Guest(s)