Hero creator
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Hero creator
 
HomePortalSearchLatest imagesRegisterLog inLink to us

 

 Somethings wrong

Go down 
2 posters
AuthorMessage
Atspulgs

Somethings wrong Mem-1
Atspulgs


Number of posts : 76
Age : 34
Location : Ireland
Karma: : <font color="green"><b>Normal</b></font>
Warning :
Somethings wrong Left_bar_bleue0 / 1000 / 100Somethings wrong Right_bar_bleue

Rank permisson :
Somethings wrong Left_bar_bleue2 / 1002 / 100Somethings wrong Right_bar_bleue

<font></font> : Somethings wrong Vip2ue3
Steamid : Plz fill in steamid
Registration date : 2008-07-28

Somethings wrong Empty
PostSubject: Somethings wrong   Somethings wrong I_icon_minitimeSat Aug 23, 2008 5:16 pm

Ok i finally tested the new version.
Is the script supose to look like this?
Code:
//Created using micke1101's Hero creater
#include
#include
#define Herogen_version "1.0"
new gHeroName[]=""
new bool:gHasPower[SH_MAXSLOTS+1]
public plugin_init() {
register_plugin("SUPERHERO ", "1.0", "micke1101s shgenerator")
//Cvars copy and paste in to shconfig.cfg
register_cvar("_level", "")
shCreateHero(gHeroName, "", "", false, "_level")
//Init
register_srvcmd("_init", "_init")
shRegHeroInit(gHeroName, "_init")
register_cvar("micke1101", "Herogen_version", FCVAR_SERVER|FCVAR_SPONLY)
}
public _init() {
new temp[6]
read_argv(1,temp,5)
new id = str_to_num(temp)
read_argv(2,temp,5)
new hasPowers = str_to_num(temp)
if ( hasPowers ) {
}
if (!hasPowers && gHasPower[id] && is_user_alive(id)) {
}
gHasPower[id] = (hasPowers != 0)
}
Back to top Go down
http://jogyclan.ucoz.com
micke1101

Somethings wrong Donjf6
micke1101


Number of posts : 152
Age : 30
Location : Sverige/Växjö | Sweden/vaxjo
Karma: : <font color="green"><b>Very good</b></font>
Warning :
Somethings wrong Left_bar_bleue0 / 1000 / 100Somethings wrong Right_bar_bleue

Rank permisson :
Somethings wrong Left_bar_bleue10 / 10010 / 100Somethings wrong Right_bar_bleue

Next Permisson : You cant get any higher XD
<font></font> : Somethings wrong Technp1
Steamid : STEAM_0:1:17811664
Registration date : 2008-07-23

Somethings wrong Empty
PostSubject: Re: Somethings wrong   Somethings wrong I_icon_minitimeSun Aug 24, 2008 1:36 am

Atspulgs wrote:
Ok i finally tested the new version.
Is the script supose to look like this?
Code:
//Created using micke1101's Hero creater
#include
#include
#define Herogen_version "1.0"
new gHeroName[]=""
new bool:gHasPower[SH_MAXSLOTS+1]
public plugin_init() {
register_plugin("SUPERHERO ", "1.0", "micke1101s shgenerator")
//Cvars copy and paste in to shconfig.cfg
register_cvar("_level", "")
shCreateHero(gHeroName, "", "", false, "_level")
//Init
register_srvcmd("_init", "_init")
shRegHeroInit(gHeroName, "_init")
register_cvar("micke1101", "Herogen_version", FCVAR_SERVER|FCVAR_SPONLY)
}
public _init() {
new temp[6]
read_argv(1,temp,5)
new id = str_to_num(temp)
read_argv(2,temp,5)
new hasPowers = str_to_num(temp)
if ( hasPowers ) {
}
if (!hasPowers && gHasPower[id] && is_user_alive(id)) {
}
gHasPower[id] = (hasPowers != 0)
}

hmm there should be some text between those
Back to top Go down
https://amxmodx.darkbb.com
micke1101

Somethings wrong Donjf6
micke1101


Number of posts : 152
Age : 30
Location : Sverige/Växjö | Sweden/vaxjo
Karma: : <font color="green"><b>Very good</b></font>
Warning :
Somethings wrong Left_bar_bleue0 / 1000 / 100Somethings wrong Right_bar_bleue

Rank permisson :
Somethings wrong Left_bar_bleue10 / 10010 / 100Somethings wrong Right_bar_bleue

Next Permisson : You cant get any higher XD
<font></font> : Somethings wrong Technp1
Steamid : STEAM_0:1:17811664
Registration date : 2008-07-23

Somethings wrong Empty
PostSubject: Re: Somethings wrong   Somethings wrong I_icon_minitimeSun Aug 24, 2008 5:56 am

Solved sometimes i hate simple solutions

How it was
Code:
                textBox1.Text = "";
                textBox10.Text = "";
                textBox11.Text = "";
                textBox12.Text = "";
                textBox2.Text = "";
                textBox3.Text = "";
                textBox4.Text = "";
                textBox5.Text = "";
                textBox6.Text = "";
                textBox7.Text = "";
                textBox8.Text = "";
                textBox9.Text = "";
                comboBox1.Text = "";
                comboBox2.Text = "";
                comboBox3.Text = "";
                comboBox4.Text = "";
                comboBox5.Text = "";
                saveFileDialog1.ShowDialog();

How it should have been
Code:
                saveFileDialog1.ShowDialog();
                textBox1.Text = "";
                textBox10.Text = "";
                textBox11.Text = "";
                textBox12.Text = "";
                textBox2.Text = "";
                textBox3.Text = "";
                textBox4.Text = "";
                textBox5.Text = "";
                textBox6.Text = "";
                textBox7.Text = "";
                textBox8.Text = "";
                textBox9.Text = "";
                comboBox1.Text = "";
                comboBox2.Text = "";
                comboBox3.Text = "";
                comboBox4.Text = "";
                comboBox5.Text = "";

So i will look up all possible errors i can find both for the 1.18 and the 1.2 then it will be updated
Back to top Go down
https://amxmodx.darkbb.com
Atspulgs

Somethings wrong Mem-1
Atspulgs


Number of posts : 76
Age : 34
Location : Ireland
Karma: : <font color="green"><b>Normal</b></font>
Warning :
Somethings wrong Left_bar_bleue0 / 1000 / 100Somethings wrong Right_bar_bleue

Rank permisson :
Somethings wrong Left_bar_bleue2 / 1002 / 100Somethings wrong Right_bar_bleue

<font></font> : Somethings wrong Vip2ue3
Steamid : Plz fill in steamid
Registration date : 2008-07-28

Somethings wrong Empty
PostSubject: Re: Somethings wrong   Somethings wrong I_icon_minitimeSun Aug 24, 2008 7:13 pm

well yeah cuz if you dont you might end up with the same errors again Very Happy
Back to top Go down
http://jogyclan.ucoz.com
Sponsored content





Somethings wrong Empty
PostSubject: Re: Somethings wrong   Somethings wrong I_icon_minitime

Back to top Go down
 
Somethings wrong
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Hero creator :: Hero generator :: Report Bugs-
Jump to: