thecannons / Insurgency-dy-sourcemod

Updated folder structure
30 stars 21 forks source link

The Custom server encounters a forced shutdown when the suicide bomber triggers an explosion #19

Open LeiMuu opened 7 years ago

LeiMuu commented 7 years ago

Hello author , I have installed the latest version of the sourcemod, Insurgency Support Library 1.4.2, insurgency.inc, scripting / include / updater.inc from jaredballou. Then allahuakbar, bsuicide_bomb_redux.smx, bsuicide_bomb_redux_naong.smx, bsuicide_bomb_redux_naong.sp from you.

Bomber's roar is normal, but when the suicide bomber triggers an explosion, the custom server encounters a forced shutdown. Can you help solve this problem? I quite like your work, but this plugin after the official update in 2017/2/8 getting problems, before it is normal.

thecannons commented 7 years ago

I think it has something to do with getclienteyeangles or vector function. I'm having so many crash issues. This update killed most our source mods..

On Feb 8, 2017 8:52 PM, "LeiMuu" notifications@github.com wrote:

Hello author , I have installed the latest version of the sourcemod, Insurgency Support Library 1.4.2, insurgency.inc, scripting / include / updater.inc from jaredballou. Then allahuakbar, bsuicide_bomb_redux.smx, bsuicide_bomb_redux_naong.smx, bsuicide_bomb_redux_naong.sp from you.

Bomber's roar is normal, but when the suicide bomber triggers an explosion, the custom server encounters a forced shutdown. Can you help solve this problem? I quite like your work, but this plugin after the official update in 2017/2/8 getting problems, before it is normal.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Daimyo21/Insurgency-dy-sourcemod/issues/19, or mute the thread https://github.com/notifications/unsubscribe-auth/ACXym97HzDMUroiMKVQeKXegJ3vlDrqUks5rapt8gaJpZM4L7s6E .

ghost commented 7 years ago

Samesies, getting errors from insurgency.smx and your respawn_noag plugins :(

On Feb 8, 2017, at 9:47 PM, Scott Jackson notifications@github.com wrote:

I think it has something to do with getclienteyeangles or vector function. I'm having so many crash issues. This update killed most our source mods..

On Feb 8, 2017 8:52 PM, "LeiMuu" notifications@github.com wrote:

Hello author , I have installed the latest version of the sourcemod, Insurgency Support Library 1.4.2, insurgency.inc, scripting / include / updater.inc from jaredballou. Then allahuakbar, bsuicide_bomb_redux.smx, bsuicide_bomb_redux_naong.smx, bsuicide_bomb_redux_naong.sp from you.

Bomber's roar is normal, but when the suicide bomber triggers an explosion, the custom server encounters a forced shutdown. Can you help solve this problem? I quite like your work, but this plugin after the official update in 2017/2/8 getting problems, before it is normal.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Daimyo21/Insurgency-dy-sourcemod/issues/19, or mute the thread https://github.com/notifications/unsubscribe-auth/ACXym97HzDMUroiMKVQeKXegJ3vlDrqUks5rapt8gaJpZM4L7s6E .

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Daimyo21/Insurgency-dy-sourcemod/issues/19#issuecomment-278553466, or mute the thread https://github.com/notifications/unsubscribe-auth/ABbMposM3RRapIYPYl_h-xRHi_eXxlkjks5raqiOgaJpZM4L7s6E.

wjk199511140034 commented 7 years ago

me too....

LeiMuu commented 7 years ago

Hello author , after the official update in 2017/2/10 fix some bug, this plugin is normal now.

thecannons commented 7 years ago

Recently updated, should be in mostly working order.

LeiMuu commented 7 years ago

Thank you for works and selflessly paid!!!

kcapazzi commented 6 years ago

Daimyo21 - I realize you probably are flooded with requests for this, but I am OH SO CLOSE to getting this working just by simply reading different threads on steam/github and was wondering if you could help me out? I just have a few questions that I think will make everything fit together and finally work.

I have the following:

bsuicide_bomb_redux_naong.smx ----> /plugins/ bsuicide_bomb_redux_naong.sp ----> /scripting/

Server.cfg:

sm_suicidebomb_chest_stomach_death_chance .75 sm_suicidebomb_death_chance 0.5 sm_suicidebomb_enabled 1 sm_suicidebomb_explosive_death_chance .5 sm_suicidebomb_incen_death_chance .5 sm_yelling_delay 6

I have all the .ogg files but dont know where to put them or what to do with them.

I was getting a bad header error when loading but now it seems to be loading the plugin properly but still no explosions.... can you please help me fine tune this to get it finally to work? Thank you in advance for any input! Your knowledge is greatly appreciated

thecannons commented 6 years ago

Make sure you have latest stable build for sourcemod: https://www.sourcemod.net/downloads.php

Also latest metamod version (don't use my addons folder which is probably incomplete and outdated).

In your theater, you will need your insurgent templates to have the word "bomber" in them.

image

Let me know if that resolves the issue.

kcapazzi commented 6 years ago

Wow that was fast.

So here's what I've got:

Sourcemod - 1.8 build 6038 Metamod - 1.10 build 961

bsuicide_bomb_redux_naong.smx /plugins/ bsuicide_bomb_redux_naong.sp /scripting/

(Am I missing any other .smx or .sp?)

I have a handful of .ogg files (/allahuakbar/) that I have no idea where to put or if they need to be converted into .vpk? (I could be way off the map with that comment)

Do I need to do a "sm_theater_override command" in the server.cfg? (Again I apologize if I sound stupid as hell I'm just cracking open this bottle of modding questions and its already spilling over)

Server.cfg currently has this in there:

sm_suicidebomb_chest_stomach_death_chance .75 sm_suicidebomb_death_chance 0.5 sm_suicidebomb_enabled 1 sm_suicidebomb_explosive_death_chance .5 sm_suicidebomb_incen_death_chance .5 sm_yelling_delay 6

How exactly do I edit the theater? Other than modifying the code lines in notepad is there another way/recommendation?

Console log looks like this upon startup (at least what looks to be the part of console we are talking about here):

Gamerules: entering state 'GR_STATE_PREGAME' Direct precache of WeaponCache.Explode Direct precache of WeaponCache.Explode Direct precache of WeaponCache.Explode Direct precache of WeaponCache.Explode Direct precache of WeaponCache.Explode Direct precache of WeaponCache.Explode CGameEventManager::AddListener: event 'teamplay_round_start' unknown. Failed finding CP area for 2! [SUICIDE] Done caching 15 sounds Initializing Steam libraries for secure Internet server [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed. Logging into anonymous gameserver account. L 12/13/2017 - 14:20:14: server_cvar: "sm_suicidebomb_chest_stomach_death_chance" "0.50" L 12/13/2017 - 14:20:14: server_cvar: "sm_suicidebomb_death_chance" "0.0" L 12/13/2017 - 14:20:14: server_cvar: "sm_suicidebomb_explosive_death_chance" "0.75" L 12/13/2017 - 14:20:14: server_cvar: "sm_suicidebomb_incen_death_chance" "0.15" L 12/13/2017 - 14:20:14: server_cvar: "sv_tags" "Three Percenters,[III%],deathmsgs" L 12/13/2017 - 14:20:14: server_cvar: "sv_tags" "Three Percenters,[III%],deathmsgs" L 12/13/2017 - 14:20:14: server_cvar: "sv_tags" "*grp:30985807i,Three Percenters,[III%],deathmsgs" Connection to Steam servers successful. Public IP is 108.61.120.119. Assigned anonymous gameserver Steam ID [A:1:4250983431:9393]. VAC secure mode is activated. CCrashHandler - Attaching to socket -1. CCrashHandler - Attached and ready. (in-process)

Keep in mind I have not yet added "bomber_ins_1" as I do not yet know how - but I wanted to give you a little more info to go off of.

Thanks again man! You have no how much you've already helped me just by giving me a response!

thecannons commented 6 years ago

So first understand how to mod game theater and or assets for insurgency and source engine in general. There is tons of guides in the insurgency community that you can follow. Also read up on how sourcemod runs files. Basically .sp files are script files that need to be compiled when changes are made. \plugins folder are the compiled versions of plugins that will run on your server.

The basic concept is:

Also do not place sm_ commands in any config file. If the plugin generates a config file, it will be in insurgency2\insurgency\cfg\sourcemod That is where you can modify those configs. Sometimes certain plugins will create a config in your sourcemod\configs folder. Some plugins use no configs and you must make changes in the .sp file and then compile them.

Modding is a time consuming thing that you have to commit lots of time to learning but becomes exponentially easier when you understand the basics. The best thing about insurgency is there is tons of guides and resources out there. Also most other source engine games work almost entirely identical to insurgency so you can find outside help as well, especially for sourcemod related questions.

Let me know if you got any more questions.