Raised This Month: $ Target: $400
 0% 

Master Vote v1.1 UPDATED 04-12-10


Post New Thread Reply   
 
Thread Tools Display Modes
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 10-18-2005 , 19:10  
Reply With Quote #11

Quote:
Originally Posted by kILL-jOY
i cant compile this

is it because im running amxx 1.01
Well it wont work with 1.01. Sorry. Because it uses functions that aren't in 1.01.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
atomic
Veteran Member
Join Date: Jan 2005
Location: What The Foot?
Old 10-19-2005 , 10:16  
Reply With Quote #12

Quote:
Originally Posted by kILL-jOY
i cant compile this

is it because im running amxx 1.01
why download the .sma and compile when there is a web compiler
__________________
atomic is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 10-19-2005 , 10:36  
Reply With Quote #13

Looks nice Sui. I'll have to review the code to see if there's anything I should steal for a similar plugin I'm crafting up.
Brad is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 10-19-2005 , 13:15  
Reply With Quote #14

Might I suggest the split() and StringExplode() functions

the split() i posted in bug reports and StringExplode() explodes a string at "'s basically a parse + explode but has to be in " and if its not formatted right it will mess up.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
kILL-jOY
Member
Join Date: Jul 2005
Old 10-19-2005 , 17:06  
Reply With Quote #15

Quote:
Originally Posted by atomic
why download the .sma and compile when there is a web compiler
because i like having the .sma and that way i have the commands without going on the web

also if i want to change something like what model or sound (mainly on superheros) then i have the .sma already
__________________
**|$uperHero|** Free level 8 / 75+ Heroes / BuyXP at 68.191.146.3:27015 - CS 1.6


kILL-jOY is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 10-19-2005 , 17:17  
Reply With Quote #16

Quote:
Originally Posted by kILL-jOY
Quote:
Originally Posted by atomic
why download the .sma and compile when there is a web compiler
because i like having the .sma and that way i have the commands without going on the web

also if i want to change something like what model or sound (mainly on superheros) then i have the .sma already
Also if your not running AMXX 1.60 the web compiler will not work for you.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 10-22-2005 , 02:18  
Reply With Quote #17

just wondering, does this plugin advertise itself? I want to do votes for heros/plugins as others are doing but don't really want to add it unless it does otherwise how will they know to vote. Another idea is to add more cvars which bring up the vote menu to clients after a certain amount of time in server.

i.e. cvar could be amx_votejointime 10 where 10 makes vote auto appear to clients 10 minutes after they join (0 could be immediately).
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 10-22-2005 , 10:48  
Reply With Quote #18

Quote:
Originally Posted by Lord_Destros
just wondering, does this plugin advertise itself?
Quote:
Originally Posted by First paragraph of first thread
The players in the server see in chat. Say /showvote to vote on the Master Vote.
This is only shown in chat if thay player hasnt voted for this vote yet.
Once a player has voted they can no longer see or vote for the vote.
Quote:
Originally Posted by Lord_Destros
cvar could be amx_votejointime 10 where 10 makes vote auto appear to clients 10 minutes after they join (0 could be immediately).
That's a good idea. I will try to implement that next week.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 10-23-2005 , 18:15  
Reply With Quote #19

i'm getting an error with this

[MVote] Cannot save vote the directory 'addons/amxmodx/data/Mvote/' doesn't exist.
[MVote] Please create directory before continuing plugin.


The directory does exist and looks like this.
dedicated server\cstrike\addons\amxmodx\data\Mvote
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 10-23-2005 , 19:11  
Reply With Quote #20

really? Guessing a Steam Dedicated windows server?

Code:
new szFileLine[256] , len = 0;     get_localinfo("amxx_datadir", szFileName , 120);     add(szFileName , 120 , "/Mvote/");     if(!dir_exists(szFileName))     {         server_print("%s Cannot save vote the directory '%s' doesn't exist." , PREFIX , szFileName);         server_print("%s Please create directory before continuing plugin." , PREFIX);         return PLUGIN_HANDLED;     }
Thats the whole check. So it goes dynamically to the directory. and sees if its there. If not then it says it doesnt exist and stops function. So I dont know what to tell you if it exists. You could try and change it to take off the / at the end.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
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 13:33.


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