AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Creature Mod (VERSION 1.5) (https://forums.alliedmods.net/showthread.php?t=61066)

X-Script 09-20-2007 15:54

Re: Creature Mod(Rebirth)
 
@Blackmilk, yes it can, i'll put it in the next release.

@guenhwyvar, SPE is Speed. And okay, i'll edit it.

X-Script 09-20-2007 16:29

Re: Creature Mod(Rebirth)
 
Any confirmination this works 100%?

Also, I'm looking for beta testers for this plugin. PM me for inquires.

X-Script 09-21-2007 08:05

Re: Creature Mod(Rebirth)
 
NEXT UPDATE ADDITIONS:

1. Possibly one or two more creatures.
2. More CVAR's and a client command
3. Lower the cost of the creatures
4. Code Cleanup

I'm not sure when the next update will be but it'll be sometime this weekend or Monday.
Before I release any new version I have it beta tested. My beta tester is BlackMilk, thanks.

-report any bugs / concerns in the thread.
-post any suggestions / requests in the thread.

BlackMilk 09-21-2007 10:30

Re: Creature Mod(Rebirth)
 
Out of curiosity, what's the difference/similarity between the "normal" price and "price2" of the critters?

X-Script 09-21-2007 16:11

Re: Creature Mod(Rebirth)
 
Honestly, i'm really not sure it would be better off not to mess with those settings. Just leave those CVARs as there defaults and only edit the mainprice. I'm taking a "detour" with your suggestion i'll lower all the main prices to only 1000 dollars. You'll still be able to edit the price though.

M249-M4A1 09-21-2007 17:16

Re: Creature Mod(Rebirth)
 
Pretty good stuff goin on here

stylerro 09-21-2007 21:12

Re: Creature Mod(Rebirth)
 
hi, u can help me with this?

L 09/22/2007 - 04:03:45: Invalid CVAR pointer
L 09/22/2007 - 04:03:45: [AMXX] Displaying debug trace (plugin "creaturemod.amxx")
L 09/22/2007 - 04:03:45: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 09/22/2007 - 04:03:45: [AMXX] [0] creaturemod.sma::showCreatureMenu (line 118)

description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm_i386. v1.76d ini ANY ANY
[ 2] sXe Injected RUN - sxei_mm_i386.so v5.2.4.4 ini ANY ANY
[ 3] STATSME RUN - statsme_mm_i386. v2.8.3 ini Chlvl Chlvl
[ 4] WebMod RUN - w_mm_i386.so v0.48 ini Start Never
[ 5] HLGuard RUN - hlguard_mm_optim v1.8 ini Chlvl Chlvl
[ 6] Fun RUN - fun_amxx_i386.so v1.76 pl1 ANY ANY
[ 7] Engine RUN - engine_amxx_i386 v1.76 pl1 ANY ANY
[ 8] FakeMeta RUN - fakemeta_amxx_i3 v1.76d pl1 ANY ANY
[ 9] CStrike RUN - cstrike_amxx_i38 v1.76 pl1 ANY ANY
[10] CSX RUN - csx_amxx_i386.so v1.76c pl1 ANY ANY
10 plugins, 10 running
Currently loaded plugins:
name version author file status
Admin Base 1.76d AMXX Dev Team admin.amxx running
Admin Commands 1.76d AMXX Dev Team admincmd.amxx running
Admin Help 1.76d AMXX Dev Team adminhelp.amxx running
Slots Reservation 1.76d AMXX Dev Team adminslots.amxx running
Multi-Lingual Sys 1.76d AMXX Dev Team multilingual.am running
Menus Front-End 1.76d AMXX Dev Team menufront.amxx running
Commands Menu 1.76d AMXX Dev Team cmdmenu.amxx running
Players Menu 1.76d AMXX Dev Team plmenu.amxx running
Maps Menu 1.76d AMXX Dev Team mapsmenu.amxx running
Admin Chat 1.76d AMXX Dev Team adminchat.amxx running
Scrolling Message 1.76d AMXX Dev Team scrollmsg.amxx running
Info. Messages 1.76d AMXX Dev Team imessage.amxx running
Admin Votes 1.76d AMXX Dev Team adminvote.amxx running
NextMap 1.76d AMXX Dev Team nextmap.amxx running
Nextmap Chooser 1.76d AMXX Dev Team mapchooser.amxx running
TimeLeft 1.76d AMXX Dev Team timeleft.amxx running
Pause Plugins 1.76d AMXX Dev Team pausecfg.amxx running
Stats Configurati 1.76d AMXX Dev Team statscfg.amxx running
CS Misc. Stats 1.76d AMXX Dev Team miscstats.amxx running
Restrict Weapons 1.76d AMXX Dev Team restmenu.amxx running
Creature Mod 1.2 MaTTe creaturemod.amx debug

and i am latest version:

/*
* Creature Mod
* by MaTTe
*
*
*
* Changelog:
*
* v1.4
* -Changed all the cvars to pcvars
*
* v1.3
* -Added forced weapons to the different creatures:
* Deagle for the spider
* Knife for the chicken
* AWP for the lobster and
* M249 for the alien
*
* v1.2
* -Added speed
*
* v1.1
* -Added config file
* -Added menu on spawn
* -Added armor
*/
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>
#define PLUGIN "Creature Mod"
#define VERSION "1.2" <<<<<<<<<<<< so is 1.4,but nevernind.
#define AUTHOR "MaTTe"


what is wrong at me?

X-Script 09-21-2007 21:31

Re: Creature Mod(Rebirth)
 
In your plugins.ini file, enable the debug.

like this:

creaturemod.amxx debug

exactly like that.

stylerro 09-21-2007 22:07

Re: Creature Mod(Rebirth)
 
yes, and show me:
L 09/22/2007 - 04:03:45: Invalid CVAR pointer
L 09/22/2007 - 04:03:45: [AMXX] Displaying debug trace (plugin "creaturemod.amxx")
L 09/22/2007 - 04:03:45: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 09/22/2007 - 04:03:45: [AMXX] [0] creaturemod.sma::showCreatureMenu (line 118)

Zenith77 09-22-2007 09:12

Re: Creature Mod(Rebirth)
 
To get this approved:
  1. Fix all previously stated errors
  2. http://forums.alliedmods.net/showthread.php?t=42159
    Don't hook spawn with "ResetHud", refer to the link on proper technique.

  3. Code:
    public logevent_round_end(id) {     cs_reset_user_model(id)     set_user_health(id, 100)     set_user_armor(id, 0)     set_user_maxspeed(id, 320.0)     client_print(0, print_chat, "[Creature Mod] All people return to normal...") }
    This works by complete accident. The event is not broadcasted to a single player, but everyone on the server. 'id' is, and will always be, with this function zero. You got lucky here, because passing zero into these natives appear to have the functionality of just looping and executing on all players. I'll check their source to make sure. But you need to fix this, simply loop through all the players (use get_players()).

That is all for now.


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

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