AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] - ⋯ Ammo management | Set correctly the ammo amout for each weapons (https://forums.alliedmods.net/showthread.php?t=263717)

shtopor 06-07-2015 04:04

Re: [CSGO] - Ammo management | Zombie Escape / Riot
 
1.1.2 installed, the plugin still does not work properly

Dr. Api 06-07-2015 06:47

Re: [CSGO] - Ammo management | Zombie Escape / Riot
 
Quote:

Originally Posted by shtopor (Post 2305547)
1.1.2 installed, the plugin still does not work properly

error logs ?

shtopor 06-07-2015 06:49

Re: [CSGO] - Ammo management | Zombie Escape / Riot
 
Code:

L 06/07/2015 - 11:14:07: SourceMod error session started
L 06/07/2015 - 11:14:07: Info (map "workshop/384666965/35hp_3_ultimate") (file "errors_20150607.log")
L 06/07/2015 - 11:14:07: [SM] Native "GetEntProp" reported: Entity -1 (-1) is invalid
L 06/07/2015 - 11:14:07: [SM] Displaying call stack trace for plugin "drapi_ammo.smx":
L 06/07/2015 - 11:14:07: [SM]  [0]  Line 444, drapi_ammo.sp::Timer_SetCorrectAmmo()
L 06/07/2015 - 11:34:33: Error log file session closed.
L 06/07/2015 - 12:25:29: SourceMod error session started
L 06/07/2015 - 12:25:29: Info (map "de_mirage") (file "errors_20150607.log")
L 06/07/2015 - 12:25:29: [SM] Native "GetEntProp" reported: Entity -1 (-1) is invalid
L 06/07/2015 - 12:25:29: [SM] Displaying call stack trace for plugin "drapi_ammo.smx":
L 06/07/2015 - 12:25:29: [SM]  [0]  Line 444, drapi_ammo.sp::Timer_SetCorrectAmmo()
L 06/07/2015 - 12:42:09: Error log file session closed.
L 06/07/2015 - 13:06:24: SourceMod error session started
L 06/07/2015 - 13:06:24: Info (map "workshop/451382974/awp_orange") (file "errors_20150607.log")
L 06/07/2015 - 13:06:24: [SM] Native "GetEntProp" reported: Entity -1 (-1) is invalid
L 06/07/2015 - 13:06:24: [SM] Displaying call stack trace for plugin "drapi_ammo.smx":
L 06/07/2015 - 13:06:24: [SM]  [0]  Line 444, drapi_ammo.sp::Timer_SetCorrectAmmo()
L 06/07/2015 - 13:06:24: [SM] Native "GetEntProp" reported: Entity -1 (-1) is invalid
L 06/07/2015 - 13:06:24: [SM] Displaying call stack trace for plugin "drapi_ammo.smx":
L 06/07/2015 - 13:06:24: [SM]  [0]  Line 444, drapi_ammo.sp::Timer_SetCorrectAmmo()
L 06/07/2015 - 13:06:26: [SM] Native "GetEntProp" reported: Entity -1 (-1) is invalid
L 06/07/2015 - 13:06:26: [SM] Displaying call stack trace for plugin "drapi_ammo.smx":
L 06/07/2015 - 13:06:26: [SM]  [0]  Line 444, drapi_ammo.sp::Timer_SetCorrectAmmo()
L 06/07/2015 - 13:27:11: Error log file session closed.


Dr. Api 06-07-2015 08:22

Re: [CSGO] - Ammo management | Zombie Escape / Riot
 
1 Attachment(s)
Quote:

Originally Posted by shtopor (Post 2305584)
Code:

L 06/07/2015 - 11:14:07: SourceMod error session started
L 06/07/2015 - 11:14:07: Info (map "workshop/384666965/35hp_3_ultimate") (file "errors_20150607.log")
L 06/07/2015 - 11:14:07: [SM] Native "GetEntProp" reported: Entity -1 (-1) is invalid
L 06/07/2015 - 11:14:07: [SM] Displaying call stack trace for plugin "drapi_ammo.smx":
L 06/07/2015 - 11:14:07: [SM]  [0]  Line 444, drapi_ammo.sp::Timer_SetCorrectAmmo()
L 06/07/2015 - 11:34:33: Error log file session closed.
L 06/07/2015 - 12:25:29: SourceMod error session started
L 06/07/2015 - 12:25:29: Info (map "de_mirage") (file "errors_20150607.log")
L 06/07/2015 - 12:25:29: [SM] Native "GetEntProp" reported: Entity -1 (-1) is invalid
L 06/07/2015 - 12:25:29: [SM] Displaying call stack trace for plugin "drapi_ammo.smx":
L 06/07/2015 - 12:25:29: [SM]  [0]  Line 444, drapi_ammo.sp::Timer_SetCorrectAmmo()
L 06/07/2015 - 12:42:09: Error log file session closed.
L 06/07/2015 - 13:06:24: SourceMod error session started
L 06/07/2015 - 13:06:24: Info (map "workshop/451382974/awp_orange") (file "errors_20150607.log")
L 06/07/2015 - 13:06:24: [SM] Native "GetEntProp" reported: Entity -1 (-1) is invalid
L 06/07/2015 - 13:06:24: [SM] Displaying call stack trace for plugin "drapi_ammo.smx":
L 06/07/2015 - 13:06:24: [SM]  [0]  Line 444, drapi_ammo.sp::Timer_SetCorrectAmmo()
L 06/07/2015 - 13:06:24: [SM] Native "GetEntProp" reported: Entity -1 (-1) is invalid
L 06/07/2015 - 13:06:24: [SM] Displaying call stack trace for plugin "drapi_ammo.smx":
L 06/07/2015 - 13:06:24: [SM]  [0]  Line 444, drapi_ammo.sp::Timer_SetCorrectAmmo()
L 06/07/2015 - 13:06:26: [SM] Native "GetEntProp" reported: Entity -1 (-1) is invalid
L 06/07/2015 - 13:06:26: [SM] Displaying call stack trace for plugin "drapi_ammo.smx":
L 06/07/2015 - 13:06:26: [SM]  [0]  Line 444, drapi_ammo.sp::Timer_SetCorrectAmmo()
L 06/07/2015 - 13:27:11: Error log file session closed.


Try this

shtopor 06-07-2015 09:49

Re: [CSGO] - Ammo management | Zombie Escape / Riot
 
It does not work

Code:

L 06/07/2015 - 20:51:59: SourceMod error session started
L 06/07/2015 - 20:51:59: Info (map "workshop/128042593/2000_classic_b2") (file "errors_20150607.log")
L 06/07/2015 - 20:51:59: [SM] Native "GetEntDataEnt2" reported: Offset -1 is invalid
L 06/07/2015 - 20:51:59: [SM] Displaying call stack trace for plugin "drapi_ammo.smx":
L 06/07/2015 - 20:51:59: [SM]  [0]  Line 608, drapi_ammo.sp::Client_GetWeapon()
L 06/07/2015 - 20:51:59: [SM]  [1]  Line 577, drapi_ammo.sp::Client_SetWeaponAmmo()
L 06/07/2015 - 20:51:59: [SM]  [2]  Line 489, drapi_ammo.sp::Timer_SetCorrectAmmo()
L 06/07/2015 - 20:52:49: Error log file session closed.


rodpod 06-08-2015 02:57

Re: [CSGO] - Ammo management | Zombie Escape / Riot
 
which version of sourcemod and metamod? i haven't looked into source code but if its 1.7 compliant then it won't work on 1.6

shtopor 06-08-2015 03:39

Re: [CSGO] - Ammo management | Zombie Escape / Riot
 
sourcemod 1.7.2
metamod 1.10.5
Code:

sm plugins list
[SM] Listing 32 plugins:
  01 "Basic Ban Commands" (1.7.2) by AlliedModders LLC
  02 "Sound Commands" (1.7.2) by AlliedModders LLC
  03 "Reserved Slots" (1.7.2) by AlliedModders LLC
  04 "Admin Help" (1.7.2) by AlliedModders LLC
  05 "Admin Menu" (1.7.2) by AlliedModders LLC
  06 "Server Advertisement" (1.3) by ESK0
  07 "Reset Score" (1.0.1) by GoDtm666 and www.MyArena.ru
  08 "Knife choice CORE - Выбор ножа ЯДРО" (1.9) by Phoenix - Феникс
  09 "Too Late To Ban" (1.0.0a) by Shenton
  10 "Map Nominations" (1.7.2) by AlliedModders LLC
  11 "Basic Info Triggers" (1.7.2) by AlliedModders LLC
  12 "AFK Manager" (3.5.3) by Rothgar
  13 "Basic Commands" (1.7.2) by AlliedModders LLC
  14 "Plugin Manager" (1.1.0) by R-Hehl
  15 "DR.API AMMO" (1.1.2) by Dr. Api
  16 "Rock The Vote" (1.7.2) by AlliedModders LLC
  17 "Player Commands" (1.7.2) by AlliedModders LLC
  18 "Fun Commands" (1.7.2) by AlliedModders LLC
  19 "PermaMute" (0.1) by Ryan "FLOOR_MASTER" Mannion
  20 "Fun Votes" (1.7.2) by AlliedModders LLC
  21 "Basic Votes" (1.7.2) by AlliedModders LLC
  22 "MapChooser" (1.7.2) by AlliedModders LLC
  23 "SM Nextmap Info" (1.9) by SWAT_88
  24 "Client Preferences" (1.7.2) by AlliedModders LLC
  25 "GameVoting.smx"
  26 "Knife choice INTERFASE MONUL 1 - Выбор ножа МОДУЛЬ ИНТЕРФЕЙСА 1" (1.1) by Phoenix - Феникс
  27 "SM Franug CSGO Sprays" (1.4.1) by Franc1sco Steam: franug
  28 "SM CS:GO Weapon Paints" (1.6.4) by Franc1sco franug
  29 "Basic Chat" (1.7.2) by AlliedModders LLC
  30 "Admin File Reader" (1.7.2) by AlliedModders LLC
  31 "Basic Comm Control" (1.7.2) by AlliedModders LLC
  32 "Anti-Flood" (1.7.2) by AlliedModders LLC


Dr. Api 06-08-2015 04:12

Re: [CSGO] - Ammo management | Zombie Escape / Riot
 
CS:GO Weapon Paint maybe cause conflict.
Give us the drapi_ammo.cfg too

rodpod 06-08-2015 04:19

Re: [CSGO] - Ammo management | Zombie Escape / Riot
 
Quote:

Originally Posted by Dr. Api (Post 2305843)
CS:GO Weapon Paint maybe cause conflict.
Give us the drapi_ammo.cfg too

it does not. I use them on 2 servers and ammo is equipped correctly

shtopor 06-08-2015 04:48

Re: [CSGO] - Ammo management | Zombie Escape / Riot
 
Code:

// Enable/Disable Dev Mod
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
drapi_active_ammo_dev "0"

// AWP
// -
// Default: "30"
drapi_ammo_338mag_max "30"

// HPK2000
// -
// Default: "52"
drapi_ammo_357sig_max "52"

// CZ75
// -
// Default: "12"
drapi_ammo_357sig_min_max "24"

// P250
// -
// Default: "26"
drapi_ammo_357sig_p250_max "52"

// USP-S
// -
// Default: "24"
drapi_ammo_357sig_small_max "48"

// FIVESEVEN
// -
// Default: "100"
drapi_ammo_45acp_max "100"

// DEAGLE
// -
// Default: "35"
drapi_ammo_50AE_max "35"

// M249, NEGEV
// -
// Default: "200"
drapi_ammo_556mm_box_max "200"

// AK47, FAMAS, GALILAR
// -
// Default: "90"
drapi_ammo_556mm_max "90"

// M4A1-S
// -
// Default: "40"
drapi_ammo_556mm_small_max "80"

// P90, UMP45, MAC10
// -
// Default: "100"
drapi_ammo_57mm_max "100"

// SSG08, AUG, SG556, G3SG1, SCAR20
// -
// Default: "90"
drapi_ammo_762mm_max "90"

// ELITE, TEC9, MP7, MP9, GLOCK, BIZON
// -
// Default: "120"
drapi_ammo_9mm_max "120"

// MAG7, NOVA, SAWEDOFF, XM1014
// -
// Default: "32"
drapi_ammo_buckshot_max "32"

// Version
// -
// Default: "1.0"
drapi_ammo_version "1.1.2"



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

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