Poll

Most annoying zombie (excluding bosses)?

Regular
1 (3.7%)
Minecraft
5 (18.5%)
Shield
1 (3.7%)
Yoshika
0 (0%)
Aya
4 (14.8%)
Cirno
3 (11.1%)
Misaka
4 (14.8%)
Miku
2 (7.4%)
Chomper
1 (3.7%)
UFO
1 (3.7%)
Luluco
1 (3.7%)
Sniper
0 (0%)
Shockwave
0 (0%)
FaecPwner
2 (7.4%)
Hammer
1 (3.7%)
Horsifier
1 (3.7%)

Total Members Voted: 27

Author Topic: [ONLINE] Unusual Endless Zombies  (Read 6648 times)

I'm working on an update to add a huge bunch of non-weeb zombies

New zombies have been added, not anime ones this time. Also two new bosses.

Weapon Shop System has stopped working
For now, the server is switching to a hunt-and-gather style of getting new weapons.

Mayeth I the great cromartini of the Devčić family tree, try to make a new map ?

Mayeth I the great cromartini of the Devčić family tree, try to make a new map ?
please do

I have fixed the weaponshop. I will be overhauling all weapon prices, and resetting all progress. The server will be back soon.

I have fixed all the issues, and the server is back! The shop looks swankier than ever!

So it seems that the weapon shop system keeps crashing the server whenever someone buys an item. I have no idea how to fix this. If anyone could help, here's the console log and the weaponshopprefs.cs.
Code: [Select]
Entering servercmdBuyItemConfirm(10177)
   Entering WeaponShopData::CheckAfford(WeaponShopData, CombatShotgunItem, 10177)
   Leaving WeaponShopData::CheckAfford() - return 1
   Entering WeaponShopData::GetWeaponPrice(WeaponShopData, CombatShotgunItem)
   Leaving WeaponShopData::GetWeaponPrice() - return 30
   Entering messageClient(10177, 369, 43, 3, 3143)
   Leaving messageClient() - return
   Entering WeaponShopData::AddWeaponOwnership(WeaponShopData, CombatShotgunItem, 25760)
      Entering hasItemOnList(6080 211273 211272 14912 18019 173426 32372 196592 32882 156689 14750 197588 30516 49214 187742 183705 211149 205230 26228 209138 200870 37085 25928 201271 111306 212215 15450)
      Leaving hasItemOnList() - return 0
      Entering addItemToList(6080 211273 211272 14912 18019 173426 32372 196592 32882 156689 14750 197588 30516 49214 187742 183705 211149 205230 26228 209138 200870 37085 25928 201271 111306 212215 15450, 25760)
         Entering hasItemOnList(6080 211273 211272 14912 18019 173426 32372 196592 32882 156689 14750 197588 30516 49214 187742 183705 211149 205230 26228 209138 200870 37085 25928 201271 111306 212215 15450, 25760)
         Leaving hasItemOnList() - return 0
      Leaving addItemToList() - return 6080 211273 211272 14912 18019 173426 32372 196592 32882 156689 14750 197588 30516 49214 187742 183705 211149 205230 26228 209138 200870 37085 25928 201271 111306 212215 15450 25760
      Entering WeaponShopData::saveData()
and then it crashes

Your save data function is crashing? Possibly an infinite loop going on in the file writing? Show us WeaponShopData::saveData

Code: [Select]
function WeaponShopData::SaveData()
{
WeaponShopData.Save("config/Server/WeaponShopPrefs.cs");
}
that's literally all there is to it. I can't code so I have no idea what any of it means.

Should probably just use the line of code alone instead of a function with one line of code inside that especially since it looks close to calling itself which would be an infinite loop with them both having 'save'.
Ex: shop.save(dir); instead of calling a middle man function

Ya get rid of that function and show us what WeaponShopData::Save is doing

I like the server, but I just don't like how there's too much anime crap. Still a pleasant server.