Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Server Loading %
#1
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 #/# : %"
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)