AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Subplugin Submission [ZP]5.0.8 Sniper & Assassin [FIX] (https://forums.alliedmods.net/showthread.php?t=182399)

ESPADONGAMING 04-09-2012 08:41

[ZP]5.0.8 Sniper & Assassin [FIX]
 
2 Attachment(s)
List Of Plugins edit for Assassin & Sniper

PHP Code:

zp50_admin_commands
zp50_admin_menu
zp50_admin_models
zp50_buy_menus
zp50_buy_zones
zp50_class_assassin
zp50_class_sniper
zp50_gamemode_assassin
zp50_gamemode_sniper
zp50_gamemodes
zp50_gameplay_fixes
zp50_grenade_fire
zp50_grenade_flashbangs
zp50_hud_info
zp50_human_ammo
zp50_human_armor
zp50_item_weapons
zp50_knockback
zp50_leap
zp50_nightvision
zp50_painshockfree
zp50_rewards_ammopacks
zp50_rewards_frags_hp
zp50_rewards_money
zp50_zombie_features 
zp50_zombie_sounds
zp50_zombie_damage 


H.RED.ZONE 04-09-2012 08:53

Re: [ZP]5.0.8 Sniper & Assassin
 
Finally someone to post it i think now they will stop saying i want zpa because of the mods (:

MercedeSx7 04-09-2012 09:02

Re: [ZP]5.0.8 Sniper & Assassin
 
Quote:

Originally Posted by H.RED.ZONE (Post 1685207)
Finally someone to post it i think now they will stop saying i want zpa because of the mods (:

+1

H.RED.ZONE 04-09-2012 09:05

Re: [ZP]5.0.8 Sniper & Assassin
 
2 Attachment(s)
Here is for Buy Assassin and Sniper..from snakers transfer
PHP Code:

#include <amxmodx>
#include <zp50_items>
#include <zp50_class_assassin>
#include <zp50_class_sniper>
#include <zp50_class_nemesis>
#include <zp50_class_survivor>

new g_assassin g_sniper

public plugin_init ( ) {
        
register_plugin "[ZP] Extra: Sniper or Assassin" "1.0" "H.RED.ZONE" )
        
        
g_assassin zp_items_register "Buy Assassin" 30 )
        
g_sniper zp_items_register "Buy Sniper" 25 ); }

public 
zp_fw_items_select_pre id itemid ) {
    if ( 
itemid == g_assassin ) {
        if ( !
zp_core_is_zombie id ) || zp_class_nemesis_get id ) || zp_class_survivor_get id ) || zp_class_assassin_get id ) || zp_class_sniper_get id ))
            return 
ZP_ITEM_DONT_SHOW;
            
        return 
ZP_ITEM_AVAILABLE; }
    if (
itemid == g_sniper) {
        if ( 
zp_core_is_zombie id ) || zp_class_survivor_get id ) || zp_class_nemesis_get id ) || zp_class_assassin_get id ) || zp_class_sniper_get id ))
            return 
ZP_ITEM_DONT_SHOW;
            
        return 
ZP_ITEM_AVAILABLE; }
    
    return 
ZP_ITEM_AVAILABLE; }

public 
zp_fw_items_select_post id itemid ) {
    if ( 
itemid == g_assassin ) {
        
zp_class_assassin_set id ); }
    if ( 
itemid == g_sniper ) {
        
zp_class_sniper_set id ); }} 


jc980 04-09-2012 10:38

Re: [ZP]5.0.8 Sniper & Assassin
 
Why is it gone?!? wtf!!!! I WANT THIS!!!

gogicaa 04-09-2012 14:53

Re: [ZP]5.0.8 Sniper & Assassin
 
Thanks .
EDIT : Add lang files , and admin menu files ;)

ESPADONGAMING 04-09-2012 15:33

Re: [ZP]5.0.8 Sniper & Assassin
 
Added: zp50_admin_commands
Working on zp50_admin_menu :P

gogicaa 04-09-2012 15:49

Re: [ZP]5.0.8 Sniper & Assassin
 
Lang files ? :D

ESPADONGAMING 04-09-2012 15:54

Re: [ZP]5.0.8 Sniper & Assassin
 
Update Arhive.

gogicaa 04-09-2012 15:58

Re: [ZP]5.0.8 Sniper & Assassin
 
Quote:

Originally Posted by ESPADONGAMING (Post 1685555)
Update Arhive.

I still don't see lang files anywhere :crab:

ESPADONGAMING 04-09-2012 16:02

Re: [ZP]5.0.8 Sniper & Assassin
 
2 Attachment(s)
Here.

Nick Haldem 04-09-2012 16:14

Re: [ZP]5.0.8 Sniper & Assassin
 
Much work :) Thank you and I have one question for you, pmed

Sidix 04-09-2012 16:31

Re: [ZP]5.0.8 Sniper & Assassin
 
Great :D

ESPADONGAMING 04-09-2012 16:54

Re: [ZP]5.0.8 Sniper & Assassin
 
1 Attachment(s)
Warn for bugs

ESPADONGAMING 04-10-2012 16:24

Re: [ZP]5.0.8 Sniper & Assassin
 
added: zp50_admin_models

saywow 04-13-2012 11:30

Re: [ZP]5.0.8 Sniper & Assassin
 
I replace my original plugin by these?

saywow 04-13-2012 11:56

Re: [ZP]5.0.8 Sniper & Assassin
 
FULLY WORKING THANK YOU !!

ESPADONGAMING 04-13-2012 11:57

Re: [ZP]5.0.8 Sniper & Assassin
 
Update, fixed zp50_admin_menu ,zp50_info_hud,etc..

saywow 04-13-2012 12:04

Re: [ZP]5.0.8 Sniper & Assassin
 
What is zekstein.sma?
Quote:

case ACTION_MAKE_NEMESIS: // Nemesis command
{
if (LibraryExists(LIBRARY_NEMESIS, LibType_Library) && (userflags & read_flags(g_access_make_nemesis)) && is_user_alive(player) && !zp_class_nemesis_get(player))
{
if (zp_core_is_zombie(player))
formatex(menu, charsmax(menu), "%s \r[%L]", player_name, id, (LibraryExists(LIBRARY_NEMESIS, LibType_Library) && zp_class_nemesis_get(player)) ? "CLASS_NEMESIS" : "CLASS_ZOMBIE")
else
formatex(menu, charsmax(menu), "%s \y[%L]", player_name, id, (LibraryExists(LIBRARY_SURVIVOR, LibType_Library) && zp_class_survivor_get(player)) ? "CLASS_SURVIVOR" : "CLASS_HUMAN")
}
else
{
if( zp_core_is_zombie(player) )
{
if( LibraryExists(LIBRARY_NEMESIS, LibType_Library) && zp_class_nemesis_get(player) )
formatex(menu, charsmax(menu), "\d%s [%L]", player_name, id, "CLASS_NEMESIS");
else if(LibraryExists(LIBRARY_ASSASSIN, LibType_Library) && zp_class_assassin_get(player))
formatex(menu, charsmax(menu), "\d%s [%L]", player_name, id, "CLASS_ASSASSIN");
else
formatex(menu, charsmax(menu), "\d%s [%L]", player_name, id, "CLASS_ZOMBIE");
}
else
{
if( LibraryExists(LIBRARY_SURVIVOR, LibType_Library) && zp_class_survivor_get(player))
formatex(menu, charsmax(menu), "\d%s [%L]", player_name, id, "CLASS_SURVIVOR");
else if( LibraryExists(LIBRARY_SNIPER, LibType_Library) && zp_class_sniper_get(player))
formatex(menu, charsmax(menu), "\d%s [%L]", player_name, id, "CLASS_SNIPER");
else
formatex(menu, charsmax(menu), "\d%s [%L]", player_name, id, "CLASS_HUMAN");
}
}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
*/

Y060N 04-13-2012 12:41

Re: [ZP]5.0.8 Sniper & Assassin
 
I don't think you needed to edit so many files. Like the grenade files you can call with natives and with the rewards as long as he is registered as a zombie class then you will get rewards for doing damage and such. All the features/sounds you don't really need to edit either because the sma of the class can call those by itself.

You only really need admin menus, class files, game mode files, and painshockfree (unless you call with native/raw call). All the others can be called with natives.

AmineKyo 04-13-2012 13:28

Re: [ZP]5.0.8 Sniper & Assassin
 
That's mean i have to remake my server :|

Andreita 04-13-2012 13:31

Re: [ZP]5.0.8 Sniper & Assassin
 
Error to copile zp50_zp43_compat.sma

Error: Array index out of bounds (variable "ZP_TEAM_NAMES") on line 983
Error: Array index out of bounds (variable "ZP_TEAM_NAMES") on line 985

y?

saywow 04-13-2012 13:48

Re: [ZP]5.0.8 Sniper & Assassin
 
Use your original ^^
& For the config file , to make it like the real ZPA mod you need to change assassin config to :
Quote:

zp_assassin_health 1500 // Health [0 - base health * player count]
zp_assassin_base_health 0
// Base health
zp_assassin_speed 1.6 // Speed
zp_assassin_gravity 0.5 // Gravity
zp_assassin_glow 1 // Glow effect
zp_assassin_aura 1 // Aura effect
zp_assassin_aura_color_R 150 // Aura color (red)
zp_assassin_aura_color_G 0 // Aura color (green)
zp_assassin_aura_color_B 0 // Aura color (blue)
zp_assassin_kill_explode 1 // Gib explosion effect when killed
zp_assassin_grenade_frost 0 // Frost nades affect assassin
zp_assassin_grenade_fire 1 // Fire nades affect assassin

saywow 04-13-2012 14:45

Re: [ZP]5.0.8 Sniper & Assassin
 
Hi,
I have a probleme with amagedoon mod , when it start every one is kicked , nothing in screenlog , but in console i have 32 message eror .. what should i do? (i guess that happen after installing your mod !

AmineKyo 04-13-2012 14:52

Re: [ZP]5.0.8 Sniper & Assassin
 
Quote:

Originally Posted by saywow (Post 1688359)
Hi,
I have a probleme with amagedoon mod , when it start every one is kicked , nothing in screenlog , but in console i have 32 message eror .. what should i do? (i guess that happen after installing your mod !

Enable debug for the mod and post the logs he may can fix them

saywow 04-13-2012 15:02

Re: [ZP]5.0.8 Sniper & Assassin
 
Wich mod?

ESPADONGAMING 04-13-2012 16:19

Re: [ZP]5.0.8 Sniper & Assassin
 
1 Attachment(s)
I fixed zp50_gameplay_fixes and zp50_zp43_compat not finished

Nick Haldem 04-13-2012 16:43

Re: [ZP]5.0.8 Sniper & Assassin
 
Update it pliz to first post

ESPADONGAMING 04-13-2012 16:45

Re: [ZP]5.0.8 Sniper & Assassin
 
done.

saywow 04-14-2012 09:09

Re: [ZP]5.0.8 Sniper & Assassin
 
Quote:

Originally Posted by ESPADONGAMING (Post 1688426)
I fixed zp50_gameplay_fixes and zp50_zp43_compat not finished

That mean amagedoon mode will work?
Edit : Amagedoon mod steel crashing the server.. & now all amx cvars don't work in the server :(
Edit 2 : I just understand , Nemsis is not working any more ...
I have that :
Quote:

Last 32 messages parsed.
11416 0013 svc_choke
11416 0014 svc_clientdata
11416 0130 svc_deltapacketentities
11417 0008 svc_time
11417 0013 svc_choke
11417 0014 svc_clientdata
11417 0130 svc_deltapacketentities
11417 0227 svc_sound
11417 0008 svc_time
11417 0013 svc_choke
11417 0014 svc_clientdata
11417 0130 svc_deltapacketentities
11418 0008 svc_time
11418 0013 svc_choke
11418 0014 svc_clientdata
11418 0032 svc_deltapacketentities
11418 0008 svc_time
11418 0013 svc_clientdata
11418 0031 svc_deltapacketentities
11419 0013 svc_clientdata
11419 0031 svc_deltapacketentities
11420 0008 svc_time
11420 0013 svc_clientdata
11420 0031 svc_deltapacketentities
11420 0008 Fog
11420 0016 svc_time
11420 0021 svc_clientdata
11420 0039 svc_deltapacketentities
11420 0105 svc_temp_entity
11420 0119 svc_temp_entity
BAD: 133:svc_bad
Host_Error: CL_ParseServerMessage: Illegible server messag
& screen log :
Quote:

L 04/14/2012 - 16:41:50: [ZP] Player already infected (2)
L 04/14/2012 - 16:41:50: [AMXX] Run time error 10 (plugin "zp50_gameplay_fixes.amxx") (native "zp_core_infect") - debug not enabled!
L 04/14/2012 - 16:41:50: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
Please help !
I don't understand everything don't work after installing your model .. i reistalled everything...

Andreita 04-14-2012 18:28

Re: [ZP]5.0.8 Sniper & Assassin
 
PHP Code:

Last 32 messages parsed.
1501944 0071 svc_temp_entity
1501948 0008 svc_time
1501948 0013 svc_clientdata
1501948 0034 svc_deltapacketentities
1501951 0008 svc_time
1501951 0013 svc_clientdata
1501951 0034 svc_deltapacketentities
1501951 0059 svc_temp_entity
1501955 0008 svc_time
1501955 0013 svc_clientdata
1501955 0031 svc_deltapacketentities
1501959 0008 svc_time
1501959 0013 svc_clientdata
1501959 0031 svc_deltapacketentities
1501959 0055 svc_temp_entity
1501962 0008 svc_time
1501962 0013 svc_clientdata
1501962 0031 svc_deltapacketentities
1501966 0008 svc_time
1501966 0013 svc_clientdata
1501966 0031 svc_deltapacketentities
1501966 0056 svc_temp_entity
1501966 0070 svc_temp_entity
1501969 0008 svc_time
1501969 0013 svc_clientdata
1501969 0031 svc_deltapacketentities
1501973 0008 svc_time
1501973 0013 svc_clientdata
1501973 0031 svc_deltapacketentities
1501973 0050 svc_temp_entity
1501973 0064 svc_temp_entity
BAD
:   78:svc_bad
Host_Error
CL_ParseServerMessage


ESPADONGAMING 04-14-2012 18:49

Re: [ZP]5.0.8 Sniper & Assassin
 
I tested and do not receive an error

saywow 04-15-2012 08:01

Re: [ZP]5.0.8 Sniper & Assassin
 
i have the same andreai probleme when i start any mod with nemsis (the nemsis player get kicked & receive this erors)

ESPADONGAMING 04-15-2012 08:38

Re: [ZP]5.0.8 Sniper & Assassin
 
Fixed zp50_gameplay_fixes :D, see first post

saywow 04-15-2012 09:59

Re: [ZP]5.0.8 Sniper & Assassin
 
some one can test it please , i don't want to reinstall every thing again !

ESPADONGAMING 04-15-2012 10:29

Re: [ZP]5.0.8 Sniper & Assassin
 
I tested and works;)

saywow 04-15-2012 10:59

Re: [ZP]5.0.8 Sniper & Assassin
 
oKEY ! i hope that true , im testing

saywow 04-15-2012 11:44

Re: [ZP]5.0.8 Sniper & Assassin
 
You didn't fix any thing ... i have to reinstlal my zp again wtf..

Nick Haldem 04-15-2012 12:05

Re: [ZP]5.0.8 Sniper & Assassin
 
I think it nightvision's problem :) You should change from if to else if

ESPADONGAMING 04-15-2012 12:24

Re: [ZP]5.0.8 Sniper & Assassin
 
1 Attachment(s)
zp50_nightvision fixed


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

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