Monthly Target: $400 Donations: $23
 5% 

Auto Revive


Post New Thread Reply   
 
Thread Tools Display Modes
Exolent[jNr]
AMX Mod X Moderator
Join Date: Feb 2007
Location: Tennessee
Old 04-30-2012 , 15:45   Re: Auto Revive
Reply With Quote #21

Quote:
Originally Posted by FODDER View Post
do you think you can do that? i never coded b4 in my life so i no nothing about this thats why i did bot im not sure i am a noob in coding lol
You were given working code, and you just modified it for no reason.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
FODDER
Member
Join Date: Mar 2012
Location: Florida, United States
Old 04-30-2012 , 16:03   Re: Auto Revive
Reply With Quote #22

Quote:
Originally Posted by Exolent[jNr] View Post
You were given working code, and you just modified it for no reason.
It doesn't work. The bot doesn't revive.
FODDER is offline
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 04-30-2012 , 16:13   Re: Auto Revive
Reply With Quote #23

Install what I gave you #16, then send us what return "amxx list" command.
__________________
You can do anything you set your mind to, man.

Devil259 is offline
FODDER
Member
Join Date: Mar 2012
Location: Florida, United States
Old 04-30-2012 , 16:26   Re: Auto Revive
Reply With Quote #24

Quote:
Originally Posted by Devil259 View Post
Install what I gave you #16, then send us what return "amxx list" command.
I did install it. I did amxx plugins and it said it was running. It didn't revive him.
FODDER is offline
Exolent[jNr]
AMX Mod X Moderator
Join Date: Feb 2007
Location: Tennessee
Old 04-30-2012 , 16:35   Re: Auto Revive
Reply With Quote #25

Post the output of the following commands:
rcon meta list
rcon amxx plugins
rcon meta version
rcon version
rcon status

Be sure to execute these commands with bots in the server.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
FODDER
Member
Join Date: Mar 2012
Location: Florida, United States
Old 04-30-2012 , 17:54   Re: Auto Revive
Reply With Quote #26

I figure something out, he auto revives with CSDM on but doesnt teleport him to the spot he dies. When CSDM is disabled he stays DEAD. I'll keep CSDM on.

PHP Code:
meta list
Currently loaded plugins:
      
description      stat pend  file              vers      src  load  unlod
 
1AMX Mod X        RUN   -    amxmodx_mm.dll    v1.8.1.3  ini  Start ANY  
 
2POD-Bot mm       RUN   -    podbot_mm.dll     v3.0B18b  ini  Chlvl ANY  
 
3CSDM2            RUN   -    csdm_amxx.dll     v2.1.2k   pl1  ANY   ANY  
 
4Fun              RUN   -    fun_amxx.dll      v1.8.1.3  pl1  ANY   ANY  
 
5Engine           RUN   -    engine_amxx.dll   v1.8.1.3  pl1  ANY   ANY  
 
6FakeMeta         RUN   -    fakemeta_amxx.dl  v1.8.1.3  pl1  ANY   ANY  
 
7CStrike          RUN   -    cstrike_amxx.dll  v1.8.1.3  pl1  ANY   ANY  
 
8CSX              RUN   -    csx_amxx.dll      v1.8.1.3  pl1  ANY   ANY  
 
9Ham Sandwich     RUN   -    hamsandwich_amxx  v1.8.1.3  pl1  ANY   ANY  
9 plugin 
PHP Code:
amxx plugins
Currently loaded plugins
:
       
name                    version     author            file             status   
 
[  1Admin Base              1.8.1.3746  AMXX Dev Team     admin.amxx       running  
 
[  2Admin Commands          1.8.1.3746  AMXX Dev Team     admincmd.amxx    running  
 
[  3Admin Help              1.8.1.3746  AMXX Dev Team     adminhelp.amxx   running  
 
[  4Slots Reservation       1.8.1.3746  AMXX Dev Team     adminslots.amxx  running  
 
[  5Multi-Lingual System    1.8.1.3746  AMXX Dev Team     multilingual.am  running  
 
[  6Menus Front-End         1.8.1.3746  AMXX Dev Team     menufront.amxx   running  
 
[  7Commands Menu           1.8.1.3746  AMXX Dev Team     cmdmenu.amxx     running  
 
[  8Players Menu            1.8.1.3746  AMXX Dev Team     plmenu.amxx      running  
 
[  9Teleport Menu           1.8.1.3746  AMXX Dev Team     telemenu.amxx    running  
 
10Maps Menu               1.8.1.3746  AMXX Dev Team     mapsmenu.amxx    running  
 
11Admin Chat              1.8.1.3746  AMXX Dev Team     adminchat.amxx   running  
 
12Anti Flood              1.8.1.3746  AMXX Dev Team     antiflood.amxx   running  
 
13Scrolling Message       1.8.1.3746  AMXX Dev Team     scrollmsg.amxx   running  
 
14InfoMessages          1.8.1.3746  AMXX Dev Team     imessage.amxx    running  
 
15Admin Votes             1.8.1.3746  AMXX Dev Team     adminvote.amxx   running  
 
16NextMap                 1.8.1.3746  AMXX Dev Team     nextmap.amxx     running  
 
17Nextmap Chooser         1.8.1.3746  AMXX Dev Team     mapchooser.amxx  running  
 
18TimeLeft                1.8.1.3746  AMXX Dev Team     timeleft.amxx    running  
 
19Pause Plugins           1.8.1.3746  AMXX Dev Team     pausecfg.amxx    running  
 
20Stats Configuration     1.8.1.3746  AMXX Dev Team     statscfg.amxx    running  
 
21StatsX                  1.8.1.3746  AMXX Dev Team     statsx.amxx      running  
 
22CS MiscStats          1.8.1.3746  AMXX Dev Team     miscstats.amxx   running  
 
23Potti                   1.40        p3tsin            potti.amxx       running  
 
24amx_cheat               1.0         watch             cheat.amxx       running  
 
25Team Revive             2.0         GHW_Chronic       GHW_Revive.amxx  running  
 
26Weapon Menu             1.0         Mattcook xerob  weaponmenu.amxx  running  
 
27Unlimited Ammo          0.2         v3x               amx_ammo.amxx    running  
 
28Buyzone Range           0.1         VEN               buyzonerange.am  running  
 
29Bullet Damage           1.0         f117bomb          bullet_damage.a  running  
 
30SpecInfo                1.3.1       Ian Cammarata     specinfo.amxx    running  
 
31unknown                 unknown     unknown           stormeh.amxx     running  
 
32Wallbang Training       1.0         Schwabba          wallbangprac.am  running  
 
33Speedometer             1.2         AciD              speedometer.amx  running  
 
34lj             me        me          lj.amxx  running  
 
35unknown             unknown         unknown             typemoneytest.amxx  stopped
 
36unknown                 unknown     unknown           typemoney.amxx   running  
 
37Unlimited Nades         1.0         Sp4rt4n           unlimited_nades  running  
 
38Unlimited Clip Ammo     1.0         -Acid-            Unlimited_Clip_  running  
 
39POD-Bot Menu            1.3         g4s|figurE.09     amxx_podbotmenu  running  
 
40Roundend Blocker        1.1.065     Nextra            roundend_blocke  running  
 
41spizdit' lave           0.1         xz                money.amxx       running  
 [ 42] Show the Kill           1.5         {PHILMAGROIN}     showthekill.amx  running  
 [ 43] DoA Painshock free      0.1 BETA    Zake_             DoA_pain_shock.  running  
 [ 44] Descriptive '
Fire in t  0.1         VEN               descriptive_fir  running  
 
45Camera Changer          1.0         XunTric           camera.amxx      running  
 
46CSDM Main               2.1.1       CSDM Team         csdm_main.amxx   running  
 
47CSDM Equip              2.1.1       CSDM Team         csdm_equip.amxx  running  
 
48CSDM Mod                2.1.1       CSDM Team         csdm_spawn_pres  running  
 
49FragCounter             1.03        Scarzzurs luxe  fragcounter.amx  running  
 
50Vampire                 1.0c        Shalfey           vampire.amxx     running  
 
51Round Non-Stop          0.3.3       Simon Logic       round_nonstop.a  running  
 
52Advanced Bullet Damage  1.0         Sn!ff3r           abd.amxx         running  
 
53CSDM Misc               2.1.1       CSDM Team         csdm_misc.amxx   running  
 
54unknown                 unknown     unknown           csdm_stripper.a  bad load 
 
55CSDM Main               2.1.1       CSDM Team         csdm_ffa.amxx    running  
54Load failsPlugin uses an unknown function (name "csdm_write_cfg") - check your modules.ini.
55 plugins54 running 
PHP Code:
meta version
Metamod v1.19  2006
-04-17 (5:13)
by Will Day <willday@metamod.org>
   
http://www.metamod.org/
compiledApr 17 200619:11:42 +0200 (optimized
PHP Code:
version
Protocol version 48
Exe version 1.1.2.6
/2.0.1343.135 (cstrike)
Exe build16:05:41 Jun 15 2009 (4554
PHP Code:
status
hostname
:  Counter-Strike Server
version 
:  48/1.1.2.6/2.0.1343.135 4554 insecure  (10)
tcp/ip  :  192.168.2.5:27015
map     
:  de_dust2 at: -1373 x2144 y53 z
players 
:  6 active (15 max)

#      name userid uniqueid frag time ping loss adr
# 1 "FODDER" 1 STEAM_0:1:3805095   8 09:19    7    0
# 2   "bot1" 2 BOT   0 10:11    0    0
# 3   "bot2" 3 BOT   0 10:11    0    0
# 4 "Hehe" 4 BOT   0 10:11    0    0
# 5 "HaHa" 5 BOT   0 10:11    0    0
# 6   "FODbot" 6 BOT   0 10:11    0    0
6 users 

Last edited by FODDER; 04-30-2012 at 17:54.
FODDER is offline
Exolent[jNr]
AMX Mod X Moderator
Join Date: Feb 2007
Location: Tennessee
Old 04-30-2012 , 23:36   Re: Auto Revive
Reply With Quote #27

Try this:
Code:
#include <amxmodx> #include <engine> #include <hamsandwich> new gSetSpawnOrigin; #define ShouldSetSpawnOrigin(%1) (gSetSpawnOrigin &   (1 << (%1 & 31))) #define SetSpawnOrigin(%1)        gSetSpawnOrigin |=  (1 << (%1 & 31)) #define ClearSpawnOrigin(%1)      gSetSpawnOrigin &= ~(1 << (%1 & 31)) #define MAX_PLAYERS 32 new Float:gSpawnOrigin[MAX_PLAYERS + 1][3]; public plugin_init() {     register_plugin("Respawn Position", "0.0.1", "Exolent");         RegisterHam(Ham_Killed, "player", "FwdPlayerKilled");     RegisterHam(Ham_Killed, "player", "FwdPlayerKilledPost", 1);     RegisterHam(Ham_Spawn, "player", "FwdPlayerSpawnPost", 1); } public client_disconnect(id) {     ClearSpawnOrigin(id); } public FwdPlayerKilled(victim, killer, shouldGib) {     entity_get_vector(victim, EV_VEC_origin, gSpawnOrigin[victim]);     SetSpawnOrigin(victim); } public FwdPlayerKilledPost(victim, killer, shouldGib) {     entity_set_int(victim, EV_INT_deadflag, DEAD_RESPAWNABLE);     entity_set_float(victim, EV_FL_nextthink, get_gametime()); } public FwdPlayerSpawnPost(id) {     if(ShouldSetSpawnOrigin(id) && is_user_alive(id)) {         entity_set_vector(id, EV_VEC_origin, gSpawnOrigin[id]);                 ClearSpawnOrigin(id);     } }
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
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 10:08.


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