Raised This Month: $276 Target: $400
 69% 

[Module] - Zombie Plague 5.0.5


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 04-23-2013 , 11:25   [Module] - Zombie Plague 5.0.5
Reply With Quote #1

What to say?

I've spent a few hours to port zp50_core into a module.
I will port other zp50 plugins into the same project.

I'm not expecting too much performance improvement with this, but in future adding other parts of ZP50 will help for sure.

Natives & Forwards are the same as in the plugin so documentation can be found here
https://forums.alliedmods.net/showthread.php?t=72505
The only change: you can't load zp50_core.amxx if this module is installed

Compiled only for linux but if someone can compile it for windows and it works, I can upload here.
I've only tested few things. Loading all default zp50 plugins with this module works, not errors seen on logs.

Also I didn't added CZ Bot support as in ZP. Can be added in future.
Attached Files
File Type: so zp50_core_amxx_i386.so (59.1 KB, 922 views)
File Type: zip zp50mod.zip (41.6 KB, 17328 views)
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
AmineKyo
فوق سريرك
Join Date: Oct 2011
Location: Morocco
Old 04-23-2013 , 11:56   Engrich...
Reply With Quote #2

That's amazing, thanks a lot.


Never mind i don't know much about module coding
__________________

Last edited by AmineKyo; 04-23-2013 at 12:04. Reason: Never mind i don't know much about module coding
AmineKyo is offline
K.K.Lv
Veteran Member
Join Date: Aug 2008
Location: GameFolder
Old 04-23-2013 , 12:01   Re: [Module] - Zombie Plague 5.0.5
Reply With Quote #3

I rebuild the project with VS2012, but it crash the server, I will try to check your code whether or not suitable for the windows if I'm got a free time

edited:
test with STEAMCMD and I had define the STEAMCMD macro in project settings .
__________________
QQ:116268742

Last edited by K.K.Lv; 04-23-2013 at 12:04.
K.K.Lv is offline
Send a message via MSN to K.K.Lv
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 04-23-2013 , 12:53   Re: [Module] - Zombie Plague 5.0.5
Reply With Quote #4

Quote:
Originally Posted by K.K.Lv View Post
I rebuild the project with VS2012, but it crash the server, I will try to check your code whether or not suitable for the windows if I'm got a free time

edited:
test with STEAMCMD and I had define the STEAMCMD macro in project settings .
STEAMCMD is only for linux (vtable on windows always was at offset 0)

Maybe your problem is with VTABLE_START.
In older cs for linux, vtable offset points to 1st element in vtable (constructor).
In newer for linux, vtable offset points to 3rd element (Spawn)

I had (or someone) to check which offset of vtable is pointed in older and newer CS for windows.
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
Bos93
Veteran Member
Join Date: Jul 2010
Old 04-23-2013 , 13:08   Re: [Module] - Zombie Plague 5.0.5
Reply With Quote #5

"5.0.5"

why don't 5.0.8 ?

Quote:
Also I didn't added CZ Bot support as in ZP. Can be added in future.
It is not necessary ))
__________________

Last edited by Bos93; 04-23-2013 at 13:11.
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 04-23-2013 , 15:29   Re: [Module] - Zombie Plague 5.0.5
Reply With Quote #6

Quote:
Originally Posted by Bos93 View Post
"5.0.5"

why don't 5.0.8 ?



It is not necessary ))
I've downloaded from main thread and it says 5.0.5

Where's 5.0.8? Any change at zp50_core ?
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
artos
Senior Member
Join Date: Mar 2010
Old 04-23-2013 , 15:58   Re: [Module] - Zombie Plague 5.0.5
Reply With Quote #7

Here you can download 5.0.8

https://forums.alliedmods.net/showthread.php?t=164926

Can I ask you why did you make this as module? Is it more stable or faster? Can you explain that more?
__________________

Last edited by artos; 04-23-2013 at 15:59.
artos is offline
Send a message via Skype™ to artos
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-23-2013 , 16:14   Re: [Module] - Zombie Plague 5.0.5
Reply With Quote #8

In a module, it's generally faster. Though here, just the small core, you can't expect really some improvement. The full ZP in a module would be fore sure, more significant.
__________________
Arkshine is offline
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 04-23-2013 , 16:18   Re: [Module] - Zombie Plague 5.0.5
Reply With Quote #9

Quote:
Originally Posted by artos View Post
Here you can download 5.0.8

https://forums.alliedmods.net/showthread.php?t=164926

Can I ask you why did you make this as module? Is it more stable or faster? Can you explain that more?
5.0.8 it's beta. I prefer to keep this module within zp release/stable.

As Arkshine said, this alone will not improve too much but I'll be adding more things from zp50 that will improve in future.

At this time I need that some people test it with default and custom installations.
Also if someone could run profiler with zp50_core plugin and then with module and post results will be nice.

Next step is to add zp50_gamemodes in the same module, I just need some feedback by now.

EDIT:
btw, zp_core_is_zombie is called too often, also CheckLastZombieHuman().
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.

Last edited by joropito; 04-23-2013 at 16:20.
joropito is offline
Send a message via MSN to joropito
MegasToRM
Member
Join Date: May 2012
Location: Serbia
Old 04-23-2013 , 18:52   Re: [Module] - Zombie Plague 5.0.5
Reply With Quote #10

Joropito,great work
MegasToRM is offline
Send a message via MSN to MegasToRM Send a message via Skype™ to MegasToRM
Reply


Thread Tools
Display Modes

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 14:23.


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