Raised This Month: $ Target: $400
 0% 

Superhero levels help.


Post New Thread Reply   
 
Thread Tools Display Modes
Steak243
Senior Member
Join Date: May 2009
Old 02-28-2010 , 12:34   Re: Superhero levels help.
Reply With Quote #41

Im using the one Jelle just posted since that looks more professional and he knows what hes doing. I didnt get errors for jelle or mine but imma go ahead with jelle since he's more experienced
Steak243 is offline
kanatzu
Veteran Member
Join Date: Oct 2007
Location: Sweden
Old 02-28-2010 , 13:36   Re: Superhero levels help.
Reply With Quote #42

Quote:
Originally Posted by The Art of War View Post
What is the adminflag? Never specified, but im not good at the old ways ^^
PHP Code:
    register_cvar("phoenix_adminflag""a"
__________________




Quote:
Originally Posted by wrecked_ View Post
Stop saying words before I sodomize you with a cucumber.
kanatzu is offline
Send a message via MSN to kanatzu
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 02-28-2010 , 13:37   Re: Superhero levels help.
Reply With Quote #43

Lol never saw that one xD
__________________
The Art of War is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 02-28-2010 , 16:18   Re: Superhero levels help.
Reply With Quote #44

What includes are you compiling with? And what version is your sh mod?
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
Steak243
Senior Member
Join Date: May 2009
Old 02-28-2010 , 17:23   Re: Superhero levels help.
Reply With Quote #45

Code:
#include <amxmod> 
#include <Vexd_Utilities> 
#include <superheromod>
Those are the includes that are in the phoenix code. And im using version: v2.1.2.1
Steak243 is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 02-28-2010 , 18:28   Re: Superhero levels help.
Reply With Quote #46

I am not asking for the includes in the hero. I do know those.

I am asking for the versions of the include file in your compilers include folder. Open it up and see what version it is.
And I also need your servers sh mod version.

And you are not using version 2.1.2.1, since that does not exist.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
Steak243
Senior Member
Join Date: May 2009
Old 02-28-2010 , 19:43   Re: Superhero levels help.
Reply With Quote #47

Code:
 
// SuperHero Vault Include File
// Version 1.18d
Idk if thats it or not. I think thats the version of the include files.

And version is "Version 1.2.1"
Steak243 is offline
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 03-01-2010 , 02:25   Re: Superhero levels help.
Reply With Quote #48

Not possible, if im correct newest one is 1.2.0.9 though i might be wrong.
__________________
The Art of War is offline
G-Dog
Senior Member
Join Date: Dec 2005
Location: Thunderstorm Central
Old 03-01-2010 , 04:20   Re: Superhero levels help.
Reply With Quote #49

since I've seen several threads asking something along the lines of how to make a hero admin only, I decided to throw this together real quick. I Have not tested so let me know if it doesn't work, but this plugin should basically act as a central admin only plugin which reads from a file to figure out which hero's should only be available to players with specified flags. Since people may not want all hero's to be specific to the same flags as others, I made this dynamic enough to separate into admin groups(see admin_restrict.ini for an example) to make things easier for server ops. Unfortunately there is one issue with the plugin not really having a way to mark hero's as being admin only or not, but there are instruction towards the top of the sma explaining how to get around this. Hope this helps people.

edit: got a hlds server to do minor testing an found several glitches I fixed

@kantzu: only way I could reproduce that error was to uncomment CHANGE_INFO w/o making the changes to superhero
Attached Files
File Type: ini admin_restrict.ini (1.0 KB, 146 views)
File Type: sma Get Plugin or Get Source (sh_adminrestrict.sma - 720 views - 9.4 KB)
__________________
If at first you don't succeed, then skydiving isn't for you.

Last edited by G-Dog; 03-04-2010 at 12:43. Reason: edited instruction set in sma for how to make compatible with older hero's
G-Dog is offline
Send a message via AIM to G-Dog
kanatzu
Veteran Member
Join Date: Oct 2007
Location: Sweden
Old 03-01-2010 , 04:56   Re: Superhero levels help.
Reply With Quote #50

Quote:
Originally Posted by G-Dog View Post
since I've seen several threads asking something along the lines of how to make a hero admin only, I decided to throw this together real quick. I Have not tested so let me know if it doesn't work, but this plugin should basically act as a central admin only plugin which reads from a file to figure out which hero's should only be available to players with specified flags. Since people may not want all hero's to be specific to the same flags as others, I made this dynamic enough to separate into admin groups(see admin_restrict.ini for an example) to make things easier for server ops. Unfortunately there is one issue with the plugin not really having a way to mark hero's as being admin only or not, but there are instruction towards the top of the sma explaining how to get around this. Hope this helps people.

Thank you, And i will test it "soon". I edit with results.

Edit: i got following message in the console

( 29) Load fails: Plugin uses an unknown function (name "sh_get_hero_info") - check your modules.ini.
__________________




Quote:
Originally Posted by wrecked_ View Post
Stop saying words before I sodomize you with a cucumber.

Last edited by kanatzu; 03-01-2010 at 07:12.
kanatzu is offline
Send a message via MSN to kanatzu
Reply



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 07:13.


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