![]() |
Server Loading % - Printable Version +- Mirage Engine (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: Resources (https://mirage-engine.uk/forums/forumdisplay.php?fid=49) +---- Thread: Server Loading % (/showthread.php?tid=30) |
Server Loading % - grimsk8ter11 - 01-06-2006 Difficulty 1/5 If you like how PW tells you what you have loaded, here is an easy way to do it. Go to ModDatabase in your Server. Find Sub Load___ (___can be NPCs, items, Maps, Player, Classes, Shops, Spells) Now find the part where it says Code: i = 1 to MAX_BLA Bla can be whatever: NPCS, SHOPS, Classes, CHARS, SPELLS, ITEMS, MAPS. Now right below it put this: Code: Call SetStatus("Loading 1. " & i & "/" & 2. & " : " & (i / 2.) * 100 & "%") Replace The (see lists) with these pairs: 1. Accounts 2. MAX_CHARS 1. Maps 2. MAX_MAPS 1. Shops 2. MAX_SHOPS 1. NPCs 2. MAX_NPCS 1. Items 2. MAX_ITEMS 1. Spells 2. MAX_SPELLS That is all. When your serer load it will say "Loading Blank #/# : %" - Krloz - 09-07-2006 is it supposed to finish at 1200%+? "loading items 1.126748/15 1978% "?? - Misunderstood - 09-07-2006 replace 2 with Max_blank...such as Max_maps if your using it for map progress replace 1 with Maps if your loading maps, or whatever you want it to say. like it says in the tutorial. Did you do that? - Krloz - 09-07-2006 Yes I do but the % goes high - Misunderstood - 09-07-2006 whats your code look like? - Krloz - 09-07-2006 Code: For y = 1 To MAX_SHOPS Code: For i = 1 To MAX_SPELLS - Dr. Spoon - 09-07-2006 Krloz Wrote:your problem is the # after the numnber 2 - Krloz - 09-07-2006 Ok thx.. AGH now I have to restart pc I hate norton, it blocks the server running!°! >.> allright fixed thx spoon - Misunderstood - 09-07-2006 Shouldn't the 2 be max_shops or max_spells? - Dr. Spoon - 09-07-2006 hmm could be.. lol but i am sure he will come back with any questions if he has them - Krloz - 10-07-2006 No more questions I got it working how its supposed to be ![]() |