Raised This Month: $ Target: $400
 0% 

Solved Zombie Plague: Redux [rewrite version]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
happy_2012
Senior Member
Join Date: Aug 2012
Old 05-31-2022 , 11:21   Zombie Plague: Redux [rewrite version]
Reply With Quote #1

Hello,

I am rewriting the original Zombie Plague 5.0.8a from scratch, with some changes in the code, and I am stuck with a problem that I am almost 100% sure I have done everything right, and I just can't seem to find what's wrong with the code that it bugs like that!

Latest source code is on both main and development branches:
- Main: https://github.com/theycallmeyuzdi/z...edux/tree/main
- Development: https://github.com/theycallmeyuzdi/z...ee/development
- Resource files: https://downloads.rvrealm.com/game-s...-resources.zip

The problem is basically as follows:
- When someone becomes the first zombie in an infection game mode, if they were killed, they spawn as zombie the next round although it has been reset
- When the first zombie infects other humans, the same problem will occur for them the next round, unless they terminate all humans
- When there are two players in the server, the one that is already zombie will stay as zombie, and the other player may turn into a zombie, no one can kill the other and the round won't end, and on the next round the two players will be zombies

Maybe a more experienced coder can help out? What's the problem? What did I do wrong? How to fix it?
__________________
Discord contacts:
I rarely look at private messages here, but I am very active on Discord!

Last edited by happy_2012; 06-03-2022 at 16:56. Reason: Added link to resource files
happy_2012 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode