Raised This Month: $ Target: $400
 0% 

Welcome Info v1.2


Post New Thread Reply   
 
Thread Tools Display Modes
dorin2oo7
Senior Member
Join Date: Jun 2008
Location: Sibiu, Romania
Old 09-25-2009 , 18:20   Re: Welcome Info v1.1
Reply With Quote #11

Quote:
Originally Posted by Arkshine View Post
He was meant to create a file to put cvars in a file, so it would not hardcoded in your plugin and people could add more cvars easily.
Not he has suggested. ;)
uh ... now you got me

I am blocked here. if you can provide an example will be better.
Thank You ;) !
__________________
dorin2oo7 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-25-2009 , 18:28   Re: Welcome Info v1.0
Reply With Quote #12

Quote:
Originally Posted by ot_207 View Post
Suggestion.
Make the plugin use an ini file.
In this file you can specify cvars for plugin versions.

Ex:
// For plugins that have version cvar
"wallblocker_version" "Wall Blocker"
// If they do not have do something like this
"Soccerjam v5.0"

When a client connects he should get something like this:
Wall Blocker Version:4.1 (Get from cvar value)
Soccerham v5.0
Generally it's one server, one mod. So you could just do a single cvar for this and make the server admin change it appropriately. The only exception would be if you are using one server for multiple mods (like with MultiMod Manager) and you want to advertise all mods in the same welcome text.
__________________
fysiks is offline
Sp3rMiNaToR
BANNED
Join Date: Apr 2009
Location: Greece ^_^
Old 09-25-2009 , 18:47   Re: Welcome Info v1.0
Reply With Quote #13

Quote:
Originally Posted by dorin2oo7 View Post
I will try to find them myself but it was useful if you had gave me the links
I updated my first post!Check it out!
Sp3rMiNaToR is offline
Send a message via MSN to Sp3rMiNaToR
dorin2oo7
Senior Member
Join Date: Jun 2008
Location: Sibiu, Romania
Old 09-25-2009 , 20:21   Re: Welcome Info v1.0
Reply With Quote #14

Quote:
Originally Posted by Sp3rMiNaToR View Post
I updated my first post!Check it out!
ok THX !
__________________
dorin2oo7 is offline
Old 09-26-2009, 06:01
crazyeffect
This message has been deleted by crazyeffect. Reason: Translation Thread
dorin2oo7
Senior Member
Join Date: Jun 2008
Location: Sibiu, Romania
Old 09-27-2009 , 12:01   Re: Welcome Info v1.1
Reply With Quote #15

UPDATE - 27.Sept.2009

v1.2
- Added more plugin replacements to precache as Sp3rMiNaToR ask here
__________________
dorin2oo7 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-27-2009 , 12:05   Re: Welcome Info v1.1
Reply With Quote #16

Do you plan to add a file for the plugins cvars because it's really ugly and not efficient the way you do it.
__________________
Arkshine is offline
dorin2oo7
Senior Member
Join Date: Jun 2008
Location: Sibiu, Romania
Old 09-27-2009 , 12:08   Re: Welcome Info v1.1
Reply With Quote #17

Quote:
Originally Posted by Arkshine View Post
Do you plan to add a file for the plugins cvars because it's really ugly and not efficient the way you do it.
It will be more efficient if you explain or give me an example. As you can read from my signature I am not so good at this (...
__________________
dorin2oo7 is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 10-21-2009 , 11:43   Re: Welcome Info v1.1
Reply With Quote #18

There are major errors in this that prevent it from being approved. Here are some of them:

Lack of use of pcvars.

If you would like any information regarding possible adjustments you could make or things you could do to make this better, please feel free to post here or PM me.

Unapproved.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
dorin2oo7
Senior Member
Join Date: Jun 2008
Location: Sibiu, Romania
Old 10-21-2009 , 21:56   Re: Welcome Info v1.1
Reply With Quote #19

It will be very useful for me and most for ppl that use this to make it better.
If you can help me make it better I would like your help.

P.S.: Please give me the help kind of detailed to be able to understand it. As I do not know the scripting as much as I should a better explanation will be good to.

The lack of use you mind that I don't use cvars to control the plugin, or is about the version cvars that offers the information ?

Thank You ! I will wait an answer !

Regards
God@Dorin
__________________
dorin2oo7 is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 10-21-2009 , 22:52   Re: Welcome Info v1.1
Reply With Quote #20

Quote:
Originally Posted by dorin2oo7 View Post
It will be very useful for me and most for ppl that use this to make it better.
If you can help me make it better I would like your help.

P.S.: Please give me the help kind of detailed to be able to understand it. As I do not know the scripting as much as I should a better explanation will be good to.

The lack of use you mind that I don't use cvars to control the plugin, or is about the version cvars that offers the information ?

Thank You ! I will wait an answer !

Regards
God@Dorin
I am not responsible for explaining things like this to you. My instructions were very clear: use pcvars instead of regular cvars. I don't care if this is your first plugin, or anything like that. If you submit it for approval, I will judge it just as I will judge anyone else's submissions.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
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 00:55.


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