it shouldn't be hardcoded
 , many Pserv / Official Server began to make the Storage capacity larger by now (kRO storage is 600,idRO storage using premium service can large it into 600)
  , many Pserv / Official Server began to make the Storage capacity larger by now (kRO storage is 600,idRO storage using premium service can large it into 600)note : it hasn't been tested at all -_-", but it should work.
so here's the patch
Code: Select all
Index: CoreLogic.pm
===================================================================
--- CoreLogic.pm	(revision 6451)
+++ CoreLogic.pm	(working copy)
@@ -1264,7 +1264,7 @@
 				$args->{done} = 1;
 				
 				# if storage is full disconnect if it says so in conf
-				if(@storageID >= 300 && $config{'dcOnStorageFull'}) {
+				if(@storageID >= $config{'maxStorageCapacity'} && $config{'dcOnStorageFull'}) {
 					error T("Disconnecting because storage is full!\n");
 					chatLog("k", T("Disconnecting because storage is full!\n"));
 					quit();Code: Select all
Index: config.txt
===================================================================
--- config.txt	(revision 6451)
+++ config.txt	(working copy)
@@ -581,6 +581,7 @@
 storageAuto_useChatCommand
 relogAfterStorage 1
 minStorageZeny 50
+maxStorageCapacity 300
 
 npcTimeResponse
 
Code: Select all
Index: README.txt
===================================================================
--- README.txt	(revision 6451)
+++ README.txt	(working copy)
@@ -13,6 +13,7 @@
 								  (filename without the extension) specifies which plugin files
 								  to load at startup or when the "plugin load all" command is used.
 - New flag for attackChangeTarget: 2 - find better attack target while gaining LOS to current target.
+- New config setting maxStorageCapacity to manually define how much is your server kafra storage.
 - Fixed bug crashes when console commands access undefined objects
 - Fixed bug in 'reload' chat command (thanks to Motivus)
 - Fixed bug in stripping callSign from chat commands





