AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY/CSS] EntControl(like grabbermod,NPCs,BuildIn-WEBSERVER,...) (Updated 2014-05-09) (https://forums.alliedmods.net/showthread.php?t=157075)

LeGone 05-15-2011 19:51

[ANY/CSS] EntControl(like grabbermod,NPCs,BuildIn-WEBSERVER,...) (Updated 2014-05-09)
 
2 Attachment(s)
Ent-Control-System

  • Feature list
  • Spawn things like props, weapons, bombzone, NPCs, ...
  • You can easily add new Entities by editing the configfile - NO need to recompile the plugin!
  • Modify every entity ... make it breakable, invisible, unsolid, remove it, touch it, ...
  • Rotate entities
  • Use one of the powerful weapons (shoot rockets, fire ioncannon, TV-MISSILE)
  • Reads Entity-Outputs like the OnPressed Event from a func_button
  • None-Admins are able to pickup props with +USE
  • And much more :)
  • Spawn Portals
  • Fixed Guns
  • Extract files from .vpk-files
  • Webinterface using an integrated webserver.
  • Accessing hiding-spots from .nav-files
  • Description
The 'EntControl' plug-in is for people who want to control their servers as good as possible.
By editing/spawning/grabbing entities.

The idea came from L. Dukeīs Grabber:SM-Plugin (Grabbermod).

This plugin might be a little complicated, but itīs worth the time :)
Iīve never had so much fun playing CS:S.

Duo to the huge amount of features, many features are at some "experimental-state" right now.
But most of the features are stable.
  • So what can I do?
    • Spawn a train, smash a player with it
    • Spawn GMAN and let him kill everyone with his briefcase
    • Spawn a bunch of zombies and let them slaughter their enemies
    • Make every entity unsolid -> players can move through doors, without opening them
    • Lock doors! Itīs not possible to open them anymore
    • Grab players and place them somewhere else. Or just teleport them.
    • Control every entity.
      • Open/Close/Toggle/Lock/Unlock/Unsolid/Solid/Delete/invisible/... doors
      • Start/Stop/... trains
      • Change the skin of everything to everything! Make a player look like a plant. Every wanted a walking hostage-plant? :)
      • Change your own skin to everything. Like Hide And Seek.
    • Spawn lights
    • Create Smoke ... huge smoke-clouds
    • Open doors from miles away, without even seeing them
    • Shoot homing rockets
    • ION-Cannons with much damage, shaking, ...
    • Control who can do what. Use flags (a-z) to control the level. You can even let it empty. This will let everyone use a function.
    • Place npc_antlion,npc_antlionguard,npc_barney,npc_d og,npc_gman,npc_headcrab,npc_police,npc_soldi er,npc_sentrygun,npc_vortigaunt,npc_synth,npc _zombie,... ... and even store them. They will appear everytime the map loads and respawn on every round-start.
    • Shoot TV-Missiles: You see what the rocket sees.
    • Portals! Even Props will be teleported!
    • Place the bomb in cs_assault -> Place Bombzones everywhere
    • Rescue hostages in de_dust -> Place Rescuezones everywhere
    • Place static-weapons. Everyone can use them. Laserpointer support :D
    • Spawn weapons and store them. Next time the map loads, the weapons will appear.
    • Same goes for Props. Ever wanted a tree in the middle of poolparty? :P
    • Youīre a mapper? You can place NPCs in the hammer-editor!
    • Coder? Use one of the natives, to spawn NPCs, get entity-outputs or get access to the navpoints (like hidingspots) used by bots/hostages
    • Itīs possible to parent things together. Like magnifying everything. Even doors.
  • Supported mods
    • CS:S
  • Not fully supported mods
    • DOD (I donīt own it, but it should work)
    • TF2
    • Obsidian Conflict
  • Unsupported mods (Itīs not possible to run EC on these Mods)
    • Dystopia
    • L4D / L4D2 <- I donīt own these games, so I will not support them.
    • CS:GO <- Thanks to Valve, most functions will not work in CS:GO. But you can still use the plugin in CS:GO at your own risk ...
  • Video
http://www.youtube.com/watch?v=CDtgppoIXa4
http://www.youtube.com/watch?v=zCq5LWri8uo
(Old version!)
  • Important Commands
Grab things by using the command:
+sm_entcontrol_grab

Open the Menu by using:
sm_entcontrol_menu

Write !entcontrol in chat to see the ingame-documentation

You can find all other commands in the "Documentation-Section".

For the nearly full list of commands: Old Documentation
  • CVARs
For informations about the flags please have a look at:
http://wiki.alliedmods.net/Adding_Admins_(SourceMod)#Levels

You can also set the Flag to ""
Example:
sm_entcontrol_grab_fl ""

This will allow everyone to use the grab command.
  • Natives
Code:

// + Entities
native EC_Entity_GetOutputCount(entity, String:sOutputName[]);
native bool:EC_Entity_GetOutputFirst(entity, String:sOutputName[]);
native bool:EC_Entity_GetOutputAt(entity, String:sOutputName[], i);
// - Entities

// + Navigation(.nav needed) - Used to spawn players/npcs/...
// Thanks to AnthonyIacono - https://github.com/AnthonyIacono for his navigation-parsing-code
native bool:EC_Nav_Load(); // .nav-files will automatically extracted from .vpk file
native bool:EC_Nav_CachePositions();
native bool:EC_Nav_GetNextHidingSpot(Float:randomPosition[3]);
// - Navigation

// + Webserver
forward Action:EC_OnWebserverCallFunction(const String:function[], const String:arg[], String:result[], maxresultlength);
native EC_Web_GetPort();
native EC_Web_GetIP(string:address[]);
// - Webserver

// + HLLib - http://nemesis.thewavelength.net/index.php?p=35
native bool:EC_HLLib_OpenFile(const String:function[]); // BSP, GCF, NCF, PAK, VPK, WAD, XZP and uncompressed ZIP package formats are supported.
native bool:EC_HLLib_ItemExist(const String:item[]);
native bool:EC_HLLib_Extract(const String:source[], const String:destination[]);
native EC_HLLib_Close();
// - HLLib

// + Dlib - http://dlib.net/
native EC_Dlib_CRC32(const String:text[]);
native EC_Dlib_MD5(String:text[]); // text is input and output
native EC_Dlib_HammingDistance(num1, num2);
native EC_Dlib_Hash(String:text[]); // text is input and output
native Float:EC_Dlib_GaussianRandomHash(num1, num2, num3);
// - Dlib

// + NPCs
// Possible NPC-Names:
// npc_antlion,npc_antlionguard,npc_barney,npc_dog,npc_gman,npc_headcrab,npc_police,npc_soldier,npc_sentrygun,npc_vortigaunt,npc_synth,npc_zombie,...
native EC_NPC_Spawn(String:sNPCName[], Float:x, Float:y, Float:z);
// - NPCs

  • Credits
L. Dukeīs -> For his grabbermod:sm code
javalia -> Stocklib and Tactical Gun (Used for the weapons code)
<eVa>Dog -> Antlion-Flames
Davis E. King -> For his Dlib - http://www.dlib.net

If I missed someone -> Iīm going to give you credits for sure!

  • Changelog (This is a copy from Mantisbt - Bugtracker)
Quote:

2014-05-09 (0.0.1.8)
- Support for NMRIH
2013-10-12 (0.0.1.7dev)
- 0000022: [General] Check for new versions (LeGone) - resolved.
- 0000021: [General] Ability to list and modify entities from outside the game, using the Webserver-module (LeGone) - resolved.
- 0000020: [General] Ability to enable or disable the boundingbox (LeGone) - resolved.
- 0000019: [General] m_flDamage not found on hl2dm (LeGone) - resolved.
- 0000018: [General] Spawn <count> NPCs on random-navigation-hiding-spots (LeGone) - resolved.
- 0000017: [General] Not possible to reopen the menu (LeGone) - resolved.
- 0000016: [General] Build-In-Webserver-Module (LeGone) - resolved.
- 0000015: [General] Make lights storeable (LeGone) - resolved.

2013-08-14 (v1.6 - dev 6)
- 0000001: [General] Recompile extension against the latest SDK (LeGone) - resolved.
- 0000012: [General] Get access to the .nav-points (LeGone) - resolved.
- 0000011: [General] Grab sth then open the menu (LeGone) - resolved.

2013-08-08 (v1.6 - dev 5)
- 0000008: [General] Spawn random NPCs in random Place on roundstart (LeGone) - resolved.
- 0000002: [General] friagramīs improvements (LeGone) - resolved.
- 0000005: [General] NPC-Natives (LeGone) - resolved.
- 0000004: [General] Move from pluginautoupdater to Updater (LeGone) - resolved.
- 0000003: [General] Remove entity on active players (LeGone) - resolved.

2012-12-24 (v1.6 - dev 4)
* HL2MP - Support
* Obisidan Conflict - Support
* Weapons can now be stored/loaded
* Fixed a few bugs

2012-03-01 (v1.6)
* Portals
* Fixed Guns
* TV-Missile
* Just too much Oo

2011-12-04 (v1.56)
* None-Admins are now able to pickup props with +USE
-> Can be disabled: sm_entcontrol_noneadminsusegrab 0
* Faster rockets
* While looking at nothing (none-entity), the menu will now select yourself!
* Headcrabs should work fine for now ... but untested so far ...
* Improved Mines

2011-10-13 (v1.55)
* Shows now the output of a func_button-entity
-> This will need the EntControl-Extension
* Fixed the "rocket-donīt-explode"-bug
* Added new flag: sm_entcontrol_grab_pl_fl <<< Flag to grab player

2011-10-03 (v1.541)
* Fixed support for SDK-Hooks (TF)

2011-09-30 (v1.54)
* The admin-threaded plugin is now fully working.
* SDKHooks is no longer required
* Now works on other mods like Obsidian Conflict, Synergy, ...

2011-07-11 (v1.53)
* Hostages are now able to break the func_breakable entities.
* Fixed the store-function
* Added the parent-function
* Fixed a few bugs

2011-07-07 (v1.52)
* Weapons and the Sentrygun are now working under TF2
* A few Bugfixes

2011-06-18 (v1.50)
* Rewritten the menu (Look at an entity to edit it)
* Save & load -> Props & NPCs
* Place NPCs via Hammer Editor (info_target -> Name = "npc_...")
* Workaround for the "NPC-Resuezone-Bug"
* Headcrab now able to attach to player
* A few other things

2011-06-06 (v1.45)
* Removed hostage sounds from npcs (thanks to Nail)
* Added Weapons & Props for DoD:S (thanks to Kjaer)
* Fixed a few Bugs
* NPC-ConfigFile-Section
* Moved the needed Stocklib-Functions to stocks.sp (thanks to javalia)

2011-05-28 (v1.45pre)
* Fixed an important security-hole
* Added Police with Stunstick and Barney (Can pickup weapon_deagle or any other physics entity and throws it at the player)

2011-05-25 (v1.4)
* Added ClassicZombie, CombineSoldier with Plasmaweapon
* Updated the NPC BaseCode

2011-05-23 (v1.342)
* Fixed a few bugs

2011-05-22 (v1.34)
* Fixed the not working Ioncannon

2011-05-22 (v1.33)
* Spawn weapons under TF2
* Updated Config-Loading-Code and the Config-File

2011-05-20 (v1.3)
* Translationfile (english, german)
* Added NPCs (Gman, Headcrab)

2011-05-19 (v1.252)
* Added CVARS (sm_entcontrol_throw_self, sm_entcontrol_mod_self)

2011-05-18 (v1.251)
* Added Gamefolder-Checks

2011-05-18 (v1.25)
* New Commands (sm_entcontrol_grab_toggle, sm_entcontrol_unfreeze)
* Fixed a few bugs
* Added Menu-Back-Buttons

2011-05-17 (v1.2)
* New CVARS (sm_entcontrol_grab_self, sm_entcontrol_spawn_prop_override)
* New configfile

2011-05-16 (v1.1a)
* Fixed Bots-Are-Crashing-Server-Bug.

2011-05-16 (v1.1)
* Fixed a few bugs
* Flag "" can now be set. (Allows non-admins to use a command)
* Weapons now have 150 ammo after have been spawned

2011-05-16 (v1.0)
* Initial release.
You donīt have to edit the plugin yourself ... just post your ideas and Iīm going to update the plugin :)
Also check out the barney =)


Donīt die while shooting the TVMissile xD

DO NOT USE NPC WITH BOTS!
This is only related to the npc and might crash your server. Just donīt spawn NPC and bots. The issues seems to be related to the CS:S-Code itself :(
PLUGIN on GITHUB
Extension-Sourcecode on GITHUB

Snaggle 05-15-2011 20:28

Re: [ANY] Ent-Control
 
Could you link us to the documentation page or clean it up a bit? It's a bit hard to read through it. Seems like a fun plugin, i'll test it out properly soon.

DaRk56 05-16-2011 00:48

Re: [ANY] Ent-Control
 
Great plugin :)

LeGone 05-16-2011 02:55

Re: [ANY] Ent-Control
 
Quote:

Originally Posted by Snaggle (Post 1470201)
Could you link us to the documentation page or clean it up a bit? It's a bit hard to read through it. Seems like a fun plugin, i'll test it out properly soon.

I really have to update the documentation.
Here is the link:
http://exp-clan.de/entcontrol.html

Quote:

Originally Posted by DaRk56 (Post 1470270)
Great plugin :)

Thanks ^^

uK4160 05-16-2011 04:04

Re: [ANY] Ent-Control
 
You are truly a god ^^ :D

Just wondering if there is away to spawn climbable ladders.

Please pm me if this is able to be done. (I would pay for this sort of project + other small things)

Thanks,

uK

LeGone 05-16-2011 10:49

Re: [ANY] Ent-Control
 
Quote:

Originally Posted by uK4160 (Post 1470317)
You are truly a god ^^ :D

Just wondering if there is away to spawn climbable ladders.

Please pm me if this is able to be done. (I would pay for this sort of project + other small things)

Thanks,

uK

I would like to do this, but ... I cannot use func_ladder (or func_useableladder) and I currently donīt know how to make a ladder =(

Kin2InuYasha 05-17-2011 00:28

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-16 v1.1a)
 
Great Plugin!!!

A couple of things,

an NPC turret killing a bot will cause a server crash. When I attempt to grab something, if the crosshairs are not fixed on a physics object, it will propel me in whatever direction I am looking. (It's kind of cool like high jump, but inconvenient at times)

Also, could you add static props? and maybe a .txt file so the server owner can add/remove props?

If that can't be done, maybe cleaning up the prop list a bit? It looks greek.

This is an awesome plugin though, just some constructive criticism.

Good job!!

LeGone 05-17-2011 09:38

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-16 v1.1a)
 
Quote:

Originally Posted by Kin2InuYasha (Post 1470794)
Great Plugin!!!

Thanks ^^

Quote:

Originally Posted by Kin2InuYasha (Post 1470794)
an NPC turret killing a bot will cause a server crash.

I tested that ... but it didnīt crash my server :(

Quote:

Originally Posted by Kin2InuYasha (Post 1470794)
When I attempt to grab something, if the crosshairs are not fixed on a physics object, it will propel me in whatever direction I am looking. (It's kind of cool like high jump, but inconvenient at times)

I fixed that with a new cvar:
sm_entcontrol_grab_self 0/1 // 1 -> player can grab himself

Quote:

Originally Posted by Kin2InuYasha (Post 1470794)
Also, could you add static props? and maybe a .txt file so the server owner can add/remove props?

If that can't be done, maybe cleaning up the prop list a bit? It looks greek.

First ... you can set the new override cvar to something other than "":
Like: sm_entcontrol_spawn_prop_override "prop_physics"

Or use the new implemented config-file:

Code:

"EntControl"
{
    "Spawns"
    {
        "Props"
        {
            "train1"
            {
                "model"    "models/props_trainstation/train001.mdl"
                "entity" "phys_magnet"
                "height" "100"
            }
            "train2"
            {
                "model"    "models/props_trainstation/train002.mdl"
                "entity" "phys_magnet"
                "height" "100"
            }
            "train3"
            {
                "model"    "models/props_trainstation/train003.mdl"
                "entity" "phys_magnet"
                "height" "100"
            }
            "soda"
            {
                "model"    "models/props_interiors/VendingMachineSoda01a.mdl"
                "entity" "phys_magnet"
                "height" "10"
            }
            "roller"
            {
                "model"    "models/roller_spikes.mdl"
                "entity" "phys_magnet"
                "height" "10"
            }
            "infospeech"
            {
                "model"    "models/extras/info_speech.mdl"
                "entity" "phys_magnet"
                "height" "10"
            }
            "tree"
            {
                "model"    "models/props_foliage/oak_tree01.mdl"
                "entity" "phys_magnet"
                "height" "10"
            }
            "container"
            {
                "model"    "models/props_wasteland/cargo_container01b.mdl"
                "entity" "phys_magnet"
                "height" "50"
            }
            "dryer_box"
            {
                "model"    "models/props/cs_assault/dryer_box.mdl"
                "entity" "phys_magnet"
                "height" "10"
            }
            "strider"
            {
                "model"    "models/Combine_Strider.mdl"
                "entity" "phys_magnet"
                "height" "30"
            }
            "radiator"
            {
                "model"    "models/props_interiors/Radiator01a.mdl"
                "entity" "phys_magnet"
                "height" "20"
            }
        }
       
        "Light"
        {
            "entity" "light_dynamic"
            "input1" "TurnOn"

            "_light"
            {
                "string" "100 255 100 255"
            }
            "brightness"
            {
                "float" 5.0
            }
            "spotlight_radius"
            {
                "float" 255.0
            }
            "distance"
            {
                "float" 255.0
            }
            "style"
            {
                "string" "6"
            }
        }
       
        "SmokeEffect"
        {
            "entity" "env_smokestack"
            "input1" "TurnOn"
            "deleteafter" "5" // Delete after 5 Seconds
           
            "BaseSpread"
            {
                "string" "20"
            }
            "SpreadSpeed"
            {
                "string" "10"
            }
            "Speed"
            {
                "string" "30"
            }
            "StartSize"
            {
                "string" "10"
            }
            "EndSize"
            {
                "string" "100"
            }
            "Rate"
            {
                "string" "40"
            }
            "JetLength"
            {
                "string" "100"
            }
            "SmokeMaterial"
            {
                "string" "particle/SmokeStack.vmt"
            }
            "RenderColor"
            {
                "string" "255 0 0"
            }
            "Renderamt"
            {
                "string" "100"
            }
           
        }
       
        "Hostage"
        {
            "entity" "hostage_entity"
        }

        "Fire"
        {
            "entity" "env_fire"
            "input1" "StartFire"

            "firesize"
            {
                "string" "128"
            }
            "fireattack"
            {
                "string" "1"
            }
            "firetype"
            {
                "string" "normal"
            }
            "ignitionpoint"
            {
                "string" "10"
            }
            "health"
            {
                "string" "10"
            }
            "damagescale"
            {
                "string" "5"
            }
            "spawnflags"
            {
                "string" "128"
            }
        }
       
        "Tesla"
        {
            "entity" "point_tesla"
            "input1" "TurnOn"
            "input2" "DoSpark"
            "height" "20"

            "m_flRadius"
            {
                "float" 200.0
            }
            "m_SoundName"
            {
                "string" "DoSpark"
            }
            "beamcount_min"
            {
                "string" "4"
            }
            "beamcount_max"
            {
                "string" "6"
            }
            "texture"
            {
                "string" "sprites/physbeam.vmt"
            }
            "m_Color"
            {
                "string" "255 255 255"
            }
            "thick_min"
            {
                "float" 10.0
            }
            "thick_max"
            {
                "float" 11.0
            }
            "lifetime_min"
            {
                "float" 0.3
            }
            "lifetime_max"
            {
                "float" 0.3
            }
            "interval_min"
            {
                "float" 0.1
            }
            "interval_max"
            {
                "float" 0.2
            }
        }
    }
}

Quote:

Originally Posted by Kin2InuYasha (Post 1470794)
This is an awesome plugin though, just some constructive criticism.

Good job!!

Thanks for your help ;)
Plugin updated...

lascage 05-17-2011 11:47

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-17 v1.2)
 
Can you write a Translation ? French, or other langage ...

Fearts 05-17-2011 13:15

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-17 v1.2)
 
very cool very powerful stuff here good job

LeGone 05-17-2011 13:31

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-17 v1.2)
 
Quote:

Originally Posted by lascage (Post 1471017)
Can you write a Translation ? French, or other langage ...

I will make such a file =)
Maybe someone can translate it to French then ...
(I donīt speak French ... sorry)

Quote:

Originally Posted by Fearts (Post 1471094)
very cool very powerful stuff here good job

Thanks xD

Fearts 05-17-2011 15:22

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-17 v1.2)
 
activate not listed on documentation

remove ent in edit when looking at a wall crashes server

would be cool if menus had a back button

would be cool if menu didn't go back to first page when you press on a option

would be cool if +sm_entcontrol_grab had a +sm_entcontrol_grab_toggle option so you don't have to hold down button

EDIT:

Also a unfreeze button

Would be nice if when spawning npcs when you kill them remove the killed hostage message.

Will add more later when I find stuff

Fearts 05-17-2011 16:02

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-17 v1.2)
 
Wow I just discovered the whole npc aspect of this mod. Never seen anything like it. Would be cool if you added a few more like headcrab etc.

DaRk56 05-17-2011 16:13

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-17 v1.2)
 
Error console

Plugins full flag z root

http://img9.**************/img9/4867/caht.jpg

Fearts 05-17-2011 16:36

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-17 v1.2)
 
^Yea I don't get this error but others on my server do it just spams console

Kin2InuYasha 05-17-2011 17:32

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-17 v1.2)
 
Quote:

Originally Posted by Fearts (Post 1471184)
activate not listed on documentation

remove ent in edit when looking at a wall crashes server

would be cool if menus had a back button

would be cool if menu didn't go back to first page when you press on a option

I second this. Specifically, the back button, first page, and make the menu stay active a lot longer instead of disappearing.

And maybe a command to extend the object you're holding away from you, and one to bring it closer to you.

Kin2InuYasha 05-17-2011 17:35

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-17 v1.2)
 
And maybe one last thing, dial down the radius on the rockets a little bit. The man on the moon feels the pain when they explode.

jasonfrog 05-17-2011 18:24

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-17 v1.2)
 
Plugin Game: Any

So I presume this should work on TF2?

I followed the install instructions to the letter on a TF2 server running SM 1.3.7.

Getting the following error when using the sm_entcontrol_menu command.
Code:

L 05/17/2011 - 23:10:25: [SM] Native "DisplayMenu" reported: Menu handle 0 is invalid (error 4)
L 05/17/2011 - 23:10:25: [SM] Displaying call stack trace for plugin "entcontrol.smx":
L 05/17/2011 - 23:10:25: [SM]  [0]  Line 501, menu.sp::Command_EntControl_Menu()

The menu does not display.


When the plugin first loads, the following errors occur.
Code:

L 05/17/2011 - 23:18:49: [SM] Native "HookEvent" reported: Game event "hostage_hurt" does not exist
L 05/17/2011 - 23:18:49: [SM] Displaying call stack trace for plugin "entcontrol.smx":
L 05/17/2011 - 23:18:49: [SM]  [0]  Line 20, NPCs/BaseNPC.sp::InitBaseNPC()
L 05/17/2011 - 23:18:49: [SM]  [1]  Line 22, NPCs.sp::InitNPCs()
L 05/17/2011 - 23:18:49: [SM]  [2]  Line 176, entcontrol.sp::OnMapStart()


DaRk56 05-17-2011 23:11

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-17 v1.2)
 
Code:

L 05/18/2011 - 05:07:08: [SM] Native "DisplayMenu" reported: Menu handle 0 is invalid (error 4)
L 05/18/2011 - 05:07:08: [SM] Displaying call stack trace for plugin "entcontrol.smx":
L 05/18/2011 - 05:07:08: [SM]  [0]  Line 163, menu.sp::Menu_EntControl_Menu()
L 05/18/2011 - 05:07:10: [SM] Native "DisplayMenu" reported: Menu handle 0 is invalid (error 4)
L 05/18/2011 - 05:07:10: [SM] Displaying call stack trace for plugin "entcontrol.smx":
L 05/18/2011 - 05:07:10: [SM]  [0]  Line 163, menu.sp::Menu_EntControl_Menu()


Zephyrus 05-18-2011 00:34

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-17 v1.2)
 
npc code is so hackish i love it so much, thanks for this awesome plugin ^^

LeGone 05-18-2011 02:52

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-17 v1.2)
 
Quote:

Originally Posted by Fearts (Post 1471184)
activate not listed on documentation

remove ent in edit when looking at a wall crashes server

would be cool if menus had a back button

Done

Quote:

Originally Posted by Fearts (Post 1471184)
would be cool if menu didn't go back to first page when you press on a option

Donīt know how to fix that :(

Quote:

Originally Posted by Fearts (Post 1471184)
would be cool if +sm_entcontrol_grab had a +sm_entcontrol_grab_toggle option so you don't have to hold down button

sm_entcontrol_grab_toggle

Quote:

Originally Posted by Fearts (Post 1471184)
Also a unfreeze button

sm_entcontrol_unfreeze

Quote:

Originally Posted by Fearts (Post 1471184)
Would be nice if when spawning npcs when you kill them remove the killed hostage message.

Donīt know how to fix that ... hmm

Quote:

Originally Posted by Kin2InuYasha (Post 1471259)
And maybe a command to extend the object you're holding away from you, and one to bring it closer to you.

Can be found in the move section.
Or use one of the commands: sm_entcontrol_distance_up, sm_entcontrol_distance_down

Quote:

Originally Posted by DaRk56 (Post 1471208)
Error console

Plugins full flag z root

http://img9.**************/img9/4867/caht.jpg

Fixed ^^

Quote:

Originally Posted by jasonfrog (Post 1471279)
Plugin Game: Any

So I presume this should work on TF2?

I followed the install instructions to the letter on a TF2 server running SM 1.3.7.

Getting the following error when using the sm_entcontrol_menu command.
Code:

L 05/17/2011 - 23:10:25: [SM] Native "DisplayMenu" reported: Menu handle 0 is invalid (error 4)
L 05/17/2011 - 23:10:25: [SM] Displaying call stack trace for plugin "entcontrol.smx":
L 05/17/2011 - 23:10:25: [SM]  [0]  Line 501, menu.sp::Command_EntControl_Menu()

The menu does not display.


When the plugin first loads, the following errors occur.
Code:

L 05/17/2011 - 23:18:49: [SM] Native "HookEvent" reported: Game event "hostage_hurt" does not exist
L 05/17/2011 - 23:18:49: [SM] Displaying call stack trace for plugin "entcontrol.smx":
L 05/17/2011 - 23:18:49: [SM]  [0]  Line 20, NPCs/BaseNPC.sp::InitBaseNPC()
L 05/17/2011 - 23:18:49: [SM]  [1]  Line 22, NPCs.sp::InitNPCs()
L 05/17/2011 - 23:18:49: [SM]  [2]  Line 176, entcontrol.sp::OnMapStart()


I think we need to research a little more about that problem.
I was looking over the code but didnīt find the problem ... odd Oo

The second error is clear ... Iīm going to fix that as soon as possible

Can you grab something ?


Quote:

Originally Posted by Kin2InuYasha (Post 1471261)
And maybe one last thing, dial down the radius on the rockets a little bit. The man on the moon feels the pain when they explode.

Done


Quote:

Originally Posted by DaRk56 (Post 1471337)
Code:

L 05/18/2011 - 05:07:08: [SM] Native "DisplayMenu" reported: Menu handle 0 is invalid (error 4)
L 05/18/2011 - 05:07:08: [SM] Displaying call stack trace for plugin "entcontrol.smx":
L 05/18/2011 - 05:07:08: [SM]  [0]  Line 163, menu.sp::Menu_EntControl_Menu()
L 05/18/2011 - 05:07:10: [SM] Native "DisplayMenu" reported: Menu handle 0 is invalid (error 4)
L 05/18/2011 - 05:07:10: [SM] Displaying call stack trace for plugin "entcontrol.smx":
L 05/18/2011 - 05:07:10: [SM]  [0]  Line 163, menu.sp::Menu_EntControl_Menu()


Have you installed the config(entcontrol.cfg) in your sourcemod/config/ folder ?

jasonfrog 05-18-2011 07:50

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-17 v1.2)
 
Quote:

Originally Posted by LeGone (Post 1471386)
Can you grab something ?

Yes, the grabber is working in TF2 despite the error with sm_entcontrol_menu

LeGone 05-18-2011 07:55

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-18 v1.251)
 
Can you please test the latest version 1.251 ... hopefully that may fix the problem

jasonfrog 05-18-2011 09:59

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-18 v1.251)
 
Quote:

Originally Posted by LeGone (Post 1471467)
Can you please test the latest version 1.251 ... hopefully that may fix the problem

Success! Yes, that has fixed both of those issues. :)

DaRk56 05-18-2011 10:31

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-17 v1.2)
 
Quote:

Originally Posted by LeGone (Post 1471386)
Have you installed the config(entcontrol.cfg) in your sourcemod/config/ folder ?

I installed here instead lol

Code:

cstrike/cfg/sourcemod

xbatista 05-18-2011 11:51

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-18 v1.251)
 
LeGone try to hook hostage_killed event and block it :) Maybe it will block hostage has been killed message

Fearts 05-18-2011 13:03

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-18 v1.251)
 
Your awesome man thanks for updating so quickly. More NPCs would still be nice. I have never seen those before and the method you use is genius.

LeGone 05-18-2011 13:41

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-18 v1.251)
 
Quote:

Originally Posted by DaRk56 (Post 1471515)
I installed here instead lol

Code:

cstrike/cfg/sourcemod

I see =)

Quote:

Originally Posted by Fearts (Post 1471585)
Your awesome man thanks for updating so quickly. More NPCs would still be nice. I have never seen those before and the method you use is genius.

Ahh .. thank you so much =)

Quote:

Originally Posted by xbatista (Post 1471546)
LeGone try to hook hostage_killed event and block it :) Maybe it will block hostage has been killed message

Thanks ... thats working ... just wondering why hostage_hurt didnīt work -.-

Elektramode 05-18-2011 14:47

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-18 v1.251)
 
Wow awesome... nothing else to say... I just love spawning npc's on my CSS game. Apart from that, I spend more time on my l4d server than cs:s, shame you cannot spawn those npcs in l4d, though a lot of the commands there work, such as ion / helper section / lights/fire/smoke... quite a lot, so I am grateful for that as well.

Kin2InuYasha 05-18-2011 18:37

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-18 v1.251)
 
It is very impressive how quickly you are updating and taking care of things, great job man! It would be nice if the menu didn't go back every time you spawn something. I'm going to look around and see if there's a quick fix for it because it's so common.

Kin2InuYasha 05-18-2011 22:51

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-18 v1.251)
 
Can you also fix throwing yourself? Or add a cvar like you did with grab so I don't get flung across the map.

thedon 05-19-2011 01:28

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-18 v1.251)
 
Great job on the plugin, as Fearts said; I havent seen anything like this ever before.

Keep up the good work

LeGone 05-19-2011 03:10

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-18 v1.251)
 
Quote:

Originally Posted by Elektramode (Post 1471635)
Wow awesome... nothing else to say... I just love spawning npc's on my CSS game. Apart from that, I spend more time on my l4d server than cs:s, shame you cannot spawn those npcs in l4d, though a lot of the commands there work, such as ion / helper section / lights/fire/smoke... quite a lot, so I am grateful for that as well.

Thanks ^^
Maybe someone finds another way to do this ... like to use the original hl2 code -.-

Quote:

Originally Posted by Kin2InuYasha (Post 1471756)
It is very impressive how quickly you are updating and taking care of things, great job man! It would be nice if the menu didn't go back every time you spawn something. I'm going to look around and see if there's a quick fix for it because it's so common.

That would be cool =)

Quote:

Originally Posted by Kin2InuYasha (Post 1471842)
Can you also fix throwing yourself? Or add a cvar like you did with grab so I don't get flung across the map.

sm_entcontrol_throw_self <-- Added =)
sm_entcontrol_mod_self <-- Can the admin edit himself ? like go invisible ?

Quote:

Originally Posted by thedon (Post 1471871)
Great job on the plugin, as Fearts said; I havent seen anything like this ever before.

Keep up the good work

Thanks alot =)

xbatista 05-19-2011 08:18

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-19 v1.252)
 
It will be also cool, if you can make that monster NPC near player can angle/rotate/turn round to you and slash/stab you with certain animation.

LeGone 05-19-2011 08:52

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-19 v1.252)
 
Quote:

Originally Posted by xbatista (Post 1471980)
It will be also cool, if you can make that monster NPC near player can angle/rotate/turn round to you and slash/stab you with certain animation.

You have to attack it to do this ... but thatīs a good idea ... I really need to update the BaseNPC Code

But ... now ... i have a problem ... The Gman is chasing me:

http://www.youtube.com/watch?v=mzlN5F5etEI (Not recorded by me ... and a very alpha version ... Iīve already fixed the sound problems -.-)

LOL ^^

xbatista 05-20-2011 12:40

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-19 v1.252)
 
Quote:

Originally Posted by LeGone (Post 1471995)
You have to attack it to do this ... but thatīs a good idea ... I really need to update the BaseNPC Code

But ... now ... i have a problem ... The Gman is chasing me:

http://www.youtube.com/watch?v=mzlN5F5etEI (Not recorded by me ... and a very alpha version ... I already fixed the sound problems -.-)

LOL ^^

So you willing to make what I said? :)

LeGone 05-20-2011 13:08

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-20 v1.3)
 
xbatista .... maybe :P

LeGone 05-22-2011 11:54

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-22 v1.33)
 
Thanks to RSmith I noticed that the weapons CANNOT work under none-CSS games(mods) ... Iīm going to search for a solution right now ...

hegrenade_projectile is for css only ...

jasonfrog 05-22-2011 13:42

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-22 v1.33)
 
Quote:

Originally Posted by LeGone (Post 1473597)
Thanks to RSmith I noticed that the weapons CANNOT work under none-CSS games(mods) ... Iīm going to search for a solution right now ...

hegrenade_projectile is for css only ...

ion cannon works in TF2. I see what you've disabled it for TF2 in the most recent version. Could you add it back in again for TF2?

rocky229 05-22-2011 14:25

Re: [ANY] EntControl(like grabbermod) (Updated 2011-05-22 v1.33)
 
sorry,my english not good..
can you remove gman's sound? thanks! because repeat sound very noisy

if i want put Monster near the door in de_dust2,what can i do
every time put monster for this map?


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

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