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

 

 few things doesnt work

Go down 
3 posters
Go to page : 1, 2  Next
AuthorMessage
Atspulgs

few things doesnt work Mem-1
Atspulgs


Number of posts : 76
Age : 33
Location : Ireland
Karma: : <font color="green"><b>Normal</b></font>
Warning :
few things doesnt work Left_bar_bleue0 / 1000 / 100few things doesnt work Right_bar_bleue

Rank permisson :
few things doesnt work Left_bar_bleue2 / 1002 / 100few things doesnt work Right_bar_bleue

<font></font> : few things doesnt work Vip2ue3
Steamid : Plz fill in steamid
Registration date : 2008-07-28

few things doesnt work Empty
PostSubject: few things doesnt work   few things doesnt work I_icon_minitimeFri Aug 29, 2008 8:38 pm

hp ap speed gravity works perfectly.
infinite ammo weapon spawn rgeneration and weapon mult doesnt. Have you tested it our self?
i didnt test models yet.
Back to top Go down
http://jogyclan.ucoz.com
micke1101

few things doesnt work Donjf6
micke1101


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

Rank permisson :
few things doesnt work Left_bar_bleue10 / 10010 / 100few things doesnt work Right_bar_bleue

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

few things doesnt work Empty
PostSubject: Re: few things doesnt work   few things doesnt work I_icon_minitimeSat Aug 30, 2008 12:53 am

I tested and it didnt seem to work hmm but i had no one to test multipling or regen on

edit

i found why it wasnt working typical when you take from different heroes

edit

Update or download the latest now and check it
Back to top Go down
https://amxmodx.darkbb.com
micke1101

few things doesnt work Donjf6
micke1101


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

Rank permisson :
few things doesnt work Left_bar_bleue10 / 10010 / 100few things doesnt work Right_bar_bleue

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

few things doesnt work Empty
PostSubject: Re: few things doesnt work   few things doesnt work I_icon_minitimeSat Aug 30, 2008 1:05 pm

Does it work now for you?
Back to top Go down
https://amxmodx.darkbb.com
Atspulgs

few things doesnt work Mem-1
Atspulgs


Number of posts : 76
Age : 33
Location : Ireland
Karma: : <font color="green"><b>Normal</b></font>
Warning :
few things doesnt work Left_bar_bleue0 / 1000 / 100few things doesnt work Right_bar_bleue

Rank permisson :
few things doesnt work Left_bar_bleue2 / 1002 / 100few things doesnt work Right_bar_bleue

<font></font> : few things doesnt work Vip2ue3
Steamid : Plz fill in steamid
Registration date : 2008-07-28

few things doesnt work Empty
PostSubject: Re: few things doesnt work   few things doesnt work I_icon_minitimeSat Aug 30, 2008 8:53 pm

i cabt update because of new error . it cant find the right folder -_-.
where will i download it? is reinstalling going to help?

Ok i know whats wrong -_-
program files is the problem Very Happy
it takes only program and leaves out files therefore it searches for c\program\Superhero creator/hcsetup.exe .stupid thing -_-

Ok i found ehre i can get the newest version. do i have to put those in to or its allright to leave them as they are?

everything works exept models. keep the good work!
Back to top Go down
http://jogyclan.ucoz.com
micke1101

few things doesnt work Donjf6
micke1101


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

Rank permisson :
few things doesnt work Left_bar_bleue10 / 10010 / 100few things doesnt work Right_bar_bleue

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

few things doesnt work Empty
PostSubject: Re: few things doesnt work   few things doesnt work I_icon_minitimeSun Aug 31, 2008 1:23 am

Atspulgs wrote:
i cabt update because of new error . it cant find the right folder -_-.
where will i download it? is reinstalling going to help?

Ok i know whats wrong -_-
program files is the problem Very Happy
it takes only program and leaves out files therefore it searches for c\program\Superhero creator/hcsetup.exe .stupid thing -_-

Ok i found ehre i can get the newest version. do i have to put those in to or its allright to leave them as they are?

everything works exept models. keep the good work!

models works fine for me (did you fill in what type of model you got?)
Code:
//Created using micke1101's hero generator for 1.2

#include <superheromod>
new gHeroID
new bool:gHasmhero[SH_MAXSLOTS+1]
new gPcvarHealPoints
new gPcvarm4a1Mult
//----------------------------------------------------------------------------------------------
public plugin_init()
{
        register_plugin("SUPERHERO all in one", SH_VERSION_STR, "Micke1101's Hero generator")

        new pcvarLevel = register_cvar("mhero_level", "12")
        new pcvarHealth = register_cvar("mhero_health", "12")
        new pcvarArmor = register_cvar("mhero_armor", "12")
        new pcvarGravity = register_cvar("mhero_gravity", "12")
        new pcvarSpeed = register_cvar("mhero_m4a1speed", "12")
        gPcvarm4a1Mult = register_cvar("mhero_m4a1mult", "12")
        gPcvarHealPoints = register_cvar("mhero_healpoints", "12")

        gHeroID = sh_create_hero("all in one", pcvarLevel)
        sh_set_hero_info(gHeroID, "mine hero", "its mine hero not your")
        sh_set_hero_hpap(gHeroID,  pcvarHealth,pcvarArmor)
        sh_set_hero_grav(gHeroID, pcvarGravity)
        sh_set_hero_speed(gHeroID, pcvarSpeed, {CSW_M4A1})
        set_task(1.0, "mhero_loop", _, _, _, "b")
        register_event("CurWeapon", "weapon_change", "be", "1=1")
}
public plugin_precache()
{
      precache_model("models/shmod/mhero_v_m4a1.mdl")
}
public sh_hero_init(id, heroID, mode)
{
        if ( gHeroID != heroID ) return

        switch(mode) {
            case SH_HERO_ADD: {
                gHasmhero[id] = true

                mhero_weapons(id)
                switch_model(id)
            }
          case SH_HERO_DROP: {
                gHasmhero[id] = false
                if ( is_user_alive(id) ) {
                    sh_drop_weapon(id, CSW_M4A1, true)
                }
            }
        }
}
public sh_client_spawn(id)
{
        if ( gHasmhero[id] ) {
            mhero_weapons(id)
        }
}
mhero_weapons(id)
{
    if ( sh_is_active() && is_user_alive(id) && gHasmhero[id] ) {
            sh_give_weapon(id, CSW_M4A1)
      }
}
//----------------------------------------------------------------------------------------------
public mhero_loop()
{
        if ( !sh_is_active() ) return

        static players[SH_MAXSLOTS], playerCount, player, i
        get_players(players, playerCount, "ah")
    for ( i = 0; i < playerCount; i++ ) {
            player = players[i]

            if ( gHasmhero[player] ) {
                sh_add_hp(player, get_pcvar_num(gPcvarHealPoints))
            }
        }
}
//----------------------------------------------------------------------------------------------
public client_damage(attacker, victim, damage, wpnindex, hitplace)
{
        if ( !sh_is_active() ) return
        if ( !is_user_alive(victim) || !is_user_connected(attacker) ) return

        if ( gHasmhero[attacker] && wpnindex == CSW_M4A1 ) {
            new headshot = hitplace == 1 ? 1 : 0

            new extraDamage = floatround(damage * get_pcvar_float(gPcvarm4a1Mult) - damage)
            if ( extraDamage > 0 ) sh_extra_damage(victim, attacker, extraDamage, "m4a1", headshot)
      }
}
public weapon_change(id)
{
        if ( !sh_is_active() || !gHasmhero[id] ) return

        if ( read_data(2) == CSW_M4A1 ) switch_model(id)
        if ( read_data(2) != CSW_M4A1 ) return
{
        if ( read_data(3) == 0 ) {
            sh_reload_ammo(id, 1)
          }
      }
}
public switch_model(id)
{
        if ( !sh_is_active() || !is_user_alive(id) || !gHasmhero[id] ) return

        if ( cs_get_user_shield(id) ) return
        if ( get_user_weapon(id) == CSW_M4A1 ) {
            set_pev(id, pev_viewmodel2, "models/shmod/mhero_v_m4a1.mdl")
      }
}

download amxx and model here
Back to top Go down
https://amxmodx.darkbb.com
Atspulgs

few things doesnt work Mem-1
Atspulgs


Number of posts : 76
Age : 33
Location : Ireland
Karma: : <font color="green"><b>Normal</b></font>
Warning :
few things doesnt work Left_bar_bleue0 / 1000 / 100few things doesnt work Right_bar_bleue

Rank permisson :
few things doesnt work Left_bar_bleue2 / 1002 / 100few things doesnt work Right_bar_bleue

<font></font> : few things doesnt work Vip2ue3
Steamid : Plz fill in steamid
Registration date : 2008-07-28

few things doesnt work Empty
PostSubject: Re: few things doesnt work   few things doesnt work I_icon_minitimeSun Aug 31, 2008 11:37 am

it looked just like yours but still didnt compile.
Back to top Go down
http://jogyclan.ucoz.com
micke1101

few things doesnt work Donjf6
micke1101


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

Rank permisson :
few things doesnt work Left_bar_bleue10 / 10010 / 100few things doesnt work Right_bar_bleue

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

few things doesnt work Empty
PostSubject: Re: few things doesnt work   few things doesnt work I_icon_minitimeSun Aug 31, 2008 12:17 pm

You must be using old compiler ive compiled it just download my stuff show me your code
Back to top Go down
https://amxmodx.darkbb.com
Atspulgs

few things doesnt work Mem-1
Atspulgs


Number of posts : 76
Age : 33
Location : Ireland
Karma: : <font color="green"><b>Normal</b></font>
Warning :
few things doesnt work Left_bar_bleue0 / 1000 / 100few things doesnt work Right_bar_bleue

Rank permisson :
few things doesnt work Left_bar_bleue2 / 1002 / 100few things doesnt work Right_bar_bleue

<font></font> : few things doesnt work Vip2ue3
Steamid : Plz fill in steamid
Registration date : 2008-07-28

few things doesnt work Empty
PostSubject: Re: few things doesnt work   few things doesnt work I_icon_minitimeSun Aug 31, 2008 3:35 pm

i downloaded the compiler you have linked in hero creator.
Code:
/Created using micke1101's hero generator for 1.2
#include <superheromod>
//----------------------------------------------------------------------------------------------
public plugin_init()
{
    register_plugin("SUPERHERO test", SH_VERSION_STR, "Micke1101's Hero generator")
    new pcvarLevel = register_cvar("kk_level", "1")
    gHeroID = sh_create_hero("test", pcvarLevel)
    sh_set_hero_info(gHeroID, "kkdfhd", "dhkd")
    register_event("CurWeapon", "weapon_change", "be", "1=1")
}
public plugin_precache()
{
      precache_model("models/shmod/kk_v_knife.mdl")
      precache_model("models/shmod/kk_p_knife.mdl")
}
public sh_hero_init(id, heroID, mode)
{
    if ( gHeroID != heroID ) return
    switch(mode) {
      case SH_HERO_ADD: {
      gHaskk[id] = true
      switch_model(id)
      }
          case SH_HERO_DROP: {
      gHaskk[id] = false
      if ( is_user_alive(id) ) {
      }
      }
    }
}
public weapon_change(id)
{
    if ( !sh_is_active() || !gHaskk[id] ) return
    if ( read_data(2) == CSW_KNIFE ) switch_model(id)
}
public switch_model(id)
{
    if ( !sh_is_active() || !is_user_alive(id) || !gHaskk[id] ) return
    if ( cs_get_user_shield(id) ) return
    if ( get_user_weapon(id) == CSW_KNIFE ) {
      set_pev(id, pev_viewmodel2, "models/shmod/kk_v_knife.mdl")
      set_pev(id, pev_weaponmodel2, "models/shmod/kk_p_knife.mdl")
      }
}
Back to top Go down
http://jogyclan.ucoz.com
micke1101

few things doesnt work Donjf6
micke1101


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

Rank permisson :
few things doesnt work Left_bar_bleue10 / 10010 / 100few things doesnt work Right_bar_bleue

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

few things doesnt work Empty
PostSubject: Re: few things doesnt work   few things doesnt work I_icon_minitimeSun Aug 31, 2008 10:53 pm

these
new gHeroID
new bool:gHaskk[SH_MAXSLOTS+1]
where missing under include i will fix it soon
Back to top Go down
https://amxmodx.darkbb.com
Atspulgs

few things doesnt work Mem-1
Atspulgs


Number of posts : 76
Age : 33
Location : Ireland
Karma: : <font color="green"><b>Normal</b></font>
Warning :
few things doesnt work Left_bar_bleue0 / 1000 / 100few things doesnt work Right_bar_bleue

Rank permisson :
few things doesnt work Left_bar_bleue2 / 1002 / 100few things doesnt work Right_bar_bleue

<font></font> : few things doesnt work Vip2ue3
Steamid : Plz fill in steamid
Registration date : 2008-07-28

few things doesnt work Empty
PostSubject: Re: few things doesnt work   few things doesnt work I_icon_minitimeMon Sep 01, 2008 1:17 am

your right Very Happy didnt notice that Very Happy but from the other hand i didnt pay much of attention Very Happy
anyway this happens if you use only skins without any other power.
Is player model valid?
Back to top Go down
http://jogyclan.ucoz.com
micke1101

few things doesnt work Donjf6
micke1101


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

Rank permisson :
few things doesnt work Left_bar_bleue10 / 10010 / 100few things doesnt work Right_bar_bleue

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

few things doesnt work Empty
PostSubject: Re: few things doesnt work   few things doesnt work I_icon_minitimeMon Sep 01, 2008 6:19 am

Atspulgs wrote:
your right Very Happy didnt notice that Very Happy but from the other hand i didnt pay much of attention Very Happy
anyway this happens if you use only skins without any other power.
Is player model valid?
playermodel....thinking....not yet
skins only......noted
searching for more bugs......
Back to top Go down
https://amxmodx.darkbb.com
Atspulgs

few things doesnt work Mem-1
Atspulgs


Number of posts : 76
Age : 33
Location : Ireland
Karma: : <font color="green"><b>Normal</b></font>
Warning :
few things doesnt work Left_bar_bleue0 / 1000 / 100few things doesnt work Right_bar_bleue

Rank permisson :
few things doesnt work Left_bar_bleue2 / 1002 / 100few things doesnt work Right_bar_bleue

<font></font> : few things doesnt work Vip2ue3
Steamid : Plz fill in steamid
Registration date : 2008-07-28

few things doesnt work Empty
PostSubject: Re: few things doesnt work   few things doesnt work I_icon_minitimeMon Sep 01, 2008 7:13 am

exept few warnings and that it doesnt rly work with vista that well Very Happy it is fine.
Back to top Go down
http://jogyclan.ucoz.com
micke1101

few things doesnt work Donjf6
micke1101


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

Rank permisson :
few things doesnt work Left_bar_bleue10 / 10010 / 100few things doesnt work Right_bar_bleue

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

few things doesnt work Empty
PostSubject: Re: few things doesnt work   few things doesnt work I_icon_minitimeMon Sep 01, 2008 8:39 am

Atspulgs wrote:
exept few warnings and that it doesnt rly work with vista that well Very Happy it is fine.
yea the warnings is just loose identation(a space to much or less)
and with my vista computer it works well
Back to top Go down
https://amxmodx.darkbb.com
Atspulgs

few things doesnt work Mem-1
Atspulgs


Number of posts : 76
Age : 33
Location : Ireland
Karma: : <font color="green"><b>Normal</b></font>
Warning :
few things doesnt work Left_bar_bleue0 / 1000 / 100few things doesnt work Right_bar_bleue

Rank permisson :
few things doesnt work Left_bar_bleue2 / 1002 / 100few things doesnt work Right_bar_bleue

<font></font> : few things doesnt work Vip2ue3
Steamid : Plz fill in steamid
Registration date : 2008-07-28

few things doesnt work Empty
PostSubject: Re: few things doesnt work   few things doesnt work I_icon_minitimeTue Sep 02, 2008 10:12 am

-_- well my one seems to be extra dumb Very Happy
Back to top Go down
http://jogyclan.ucoz.com
micke1101

few things doesnt work Donjf6
micke1101


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

Rank permisson :
few things doesnt work Left_bar_bleue10 / 10010 / 100few things doesnt work Right_bar_bleue

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

few things doesnt work Empty
PostSubject: Re: few things doesnt work   few things doesnt work I_icon_minitimeTue Sep 02, 2008 12:16 pm

Any special kind of vista?
Back to top Go down
https://amxmodx.darkbb.com
Atspulgs

few things doesnt work Mem-1
Atspulgs


Number of posts : 76
Age : 33
Location : Ireland
Karma: : <font color="green"><b>Normal</b></font>
Warning :
few things doesnt work Left_bar_bleue0 / 1000 / 100few things doesnt work Right_bar_bleue

Rank permisson :
few things doesnt work Left_bar_bleue2 / 1002 / 100few things doesnt work Right_bar_bleue

<font></font> : few things doesnt work Vip2ue3
Steamid : Plz fill in steamid
Registration date : 2008-07-28

few things doesnt work Empty
PostSubject: Re: few things doesnt work   few things doesnt work I_icon_minitimeTue Sep 02, 2008 8:26 pm

ultimate Very Happy
Back to top Go down
http://jogyclan.ucoz.com
micke1101

few things doesnt work Donjf6
micke1101


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

Rank permisson :
few things doesnt work Left_bar_bleue10 / 10010 / 100few things doesnt work Right_bar_bleue

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

few things doesnt work Empty
PostSubject: Re: few things doesnt work   few things doesnt work I_icon_minitimeTue Sep 02, 2008 11:29 pm

Atspulgs wrote:
ultimate Very Happy
i have home edition
.p.s. Do you have a movie as background then? XD.d.s.
Back to top Go down
https://amxmodx.darkbb.com
Atspulgs

few things doesnt work Mem-1
Atspulgs


Number of posts : 76
Age : 33
Location : Ireland
Karma: : <font color="green"><b>Normal</b></font>
Warning :
few things doesnt work Left_bar_bleue0 / 1000 / 100few things doesnt work Right_bar_bleue

Rank permisson :
few things doesnt work Left_bar_bleue2 / 1002 / 100few things doesnt work Right_bar_bleue

<font></font> : few things doesnt work Vip2ue3
Steamid : Plz fill in steamid
Registration date : 2008-07-28

few things doesnt work Empty
PostSubject: Re: few things doesnt work   few things doesnt work I_icon_minitimeWed Sep 03, 2008 10:18 am

no. is that even possible? Very Happy
Back to top Go down
http://jogyclan.ucoz.com
micke1101

few things doesnt work Donjf6
micke1101


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

Rank permisson :
few things doesnt work Left_bar_bleue10 / 10010 / 100few things doesnt work Right_bar_bleue

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

few things doesnt work Empty
PostSubject: Re: few things doesnt work   few things doesnt work I_icon_minitimeWed Sep 03, 2008 12:29 pm

only with ultimate vista

edit

test this http://www.techmixer.com/how-to-set-a-video-as-a-dreamscene-background-wallpaper-on-windows-vista-ultimate/

and keep on topic plz Smile
Back to top Go down
https://amxmodx.darkbb.com
Atspulgs

few things doesnt work Mem-1
Atspulgs


Number of posts : 76
Age : 33
Location : Ireland
Karma: : <font color="green"><b>Normal</b></font>
Warning :
few things doesnt work Left_bar_bleue0 / 1000 / 100few things doesnt work Right_bar_bleue

Rank permisson :
few things doesnt work Left_bar_bleue2 / 1002 / 100few things doesnt work Right_bar_bleue

<font></font> : few things doesnt work Vip2ue3
Steamid : Plz fill in steamid
Registration date : 2008-07-28

few things doesnt work Empty
PostSubject: Re: few things doesnt work   few things doesnt work I_icon_minitimeThu Sep 04, 2008 5:43 am

dude thats so cool Very Happy if ill post next ones ill start a new tread in off topic Very Happy If you know anything else about vista (cool stuff) tell me about it Razz
Back to top Go down
http://jogyclan.ucoz.com
Random1

few things doesnt work Glob
Random1


Number of posts : 7
Age : 37
Location : Thunderstorm Central
Karma: : <font color="green"><b>Normal</b></font>
Warning :
few things doesnt work Left_bar_bleue0 / 1000 / 100few things doesnt work Right_bar_bleue

Rank permisson :
few things doesnt work Left_bar_bleue0 / 1000 / 100few things doesnt work Right_bar_bleue

Next Permisson : Admin
<font></font> : few things doesnt work Technp1
Steamid : STEAM_0:1:999441
Registration date : 2008-09-14

few things doesnt work Empty
PostSubject: Re: few things doesnt work   few things doesnt work I_icon_minitimeSun Sep 14, 2008 8:53 am

not sure if you've already solved the gHeroID not being properly set in plugin_init function yet or not, but after testing the generator from your post on allied modder's it wasn't properly setting right. So you may want to update download there since download link here seems to be down. Other than that it seems to be working properly, tho I would suggest that instead of using get_players in your heal code which can sometimes work improperly to instead do something like this
Code:
public heal_loop()
{
    if ( !sh_is_active() || !sh_is_inround() ) return;    //no point in healing people between rounds
   
    for ( new i = 1; i <= SH_MAXSLOTS; i++ )
        if ( is_user_alive(i) && gHasHero[i] )
            sh_add_hp(i, get_pcvar_num(gPcvarHealPoints));
}
you may also want to support everything to work for multiple weapons instead of just 1 or all. Maybe have people highlight each weapon instead of just picking one from the drop box. Well anyways here to help if you need any.

p.s. This is G-Dog from allied modder's. Probably already figured that out since I always register my plugin's with Random1 instead of G-Dog
Back to top Go down
http://noobplanet.net
micke1101

few things doesnt work Donjf6
micke1101


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

Rank permisson :
few things doesnt work Left_bar_bleue10 / 10010 / 100few things doesnt work Right_bar_bleue

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

few things doesnt work Empty
PostSubject: Re: few things doesnt work   few things doesnt work I_icon_minitimeSun Sep 14, 2008 9:22 am

Random1 wrote:
not sure if you've already solved the gHeroID not being properly set in plugin_init function yet or not, but after testing the generator from your post on allied modder's it wasn't properly setting right. So you may want to update download there since download link here seems to be down. Other than that it seems to be working properly, tho I would suggest that instead of using get_players in your heal code which can sometimes work improperly to instead do something like this
Code:
public heal_loop()
{
    if ( !sh_is_active() || !sh_is_inround() ) return;    //no point in healing people between rounds
   
    for ( new i = 1; i <= SH_MAXSLOTS; i++ )
        if ( is_user_alive(i) && gHasHero[i] )
            sh_add_hp(i, get_pcvar_num(gPcvarHealPoints));
}
you may also want to support everything to work for multiple weapons instead of just 1 or all. Maybe have people highlight each weapon instead of just picking one from the drop box. Well anyways here to help if you need any.

p.s. This is G-Dog from allied modder's. Probably already figured that out since I always register my plugin's with Random1 instead of G-Dog
Thank you i will check it out.
Ive been working on the source mod creator.
And the problem with the link is probably cause hostedwith.us well close to always is offline but i dont know any other free that will able for exe.

edit

i updated the attachment to the latest released
Back to top Go down
https://amxmodx.darkbb.com
Atspulgs

few things doesnt work Mem-1
Atspulgs


Number of posts : 76
Age : 33
Location : Ireland
Karma: : <font color="green"><b>Normal</b></font>
Warning :
few things doesnt work Left_bar_bleue0 / 1000 / 100few things doesnt work Right_bar_bleue

Rank permisson :
few things doesnt work Left_bar_bleue2 / 1002 / 100few things doesnt work Right_bar_bleue

<font></font> : few things doesnt work Vip2ue3
Steamid : Plz fill in steamid
Registration date : 2008-07-28

few things doesnt work Empty
PostSubject: Re: few things doesnt work   few things doesnt work I_icon_minitimeMon Sep 15, 2008 11:38 am

Quote :
you may also want to support everything to work for multiple weapons instead of just 1 or all. Maybe have people highlight each weapon instead of just picking one from the drop box. Well anyways here to help if you need any.
thats exacly what i was thinking
How about choosing powers that can be on kd?
Back to top Go down
http://jogyclan.ucoz.com
micke1101

few things doesnt work Donjf6
micke1101


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

Rank permisson :
few things doesnt work Left_bar_bleue10 / 10010 / 100few things doesnt work Right_bar_bleue

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

few things doesnt work Empty
PostSubject: Re: few things doesnt work   few things doesnt work I_icon_minitimeMon Sep 15, 2008 11:56 am

Random1 wrote:
you may also want to support everything to work for multiple weapons instead of just 1 or all. Maybe have people highlight each weapon instead of just picking one from the drop box. Well anyways here to help if you need any.
Well i guess i could do this just need to change 1 thing in the code check
Hmm i guess i will have to make a loop scratch else it will be like (30*30=900) 900 checks on eash thing XD mush better with a loop XD
Back to top Go down
https://amxmodx.darkbb.com
Random1

few things doesnt work Glob
Random1


Number of posts : 7
Age : 37
Location : Thunderstorm Central
Karma: : <font color="green"><b>Normal</b></font>
Warning :
few things doesnt work Left_bar_bleue0 / 1000 / 100few things doesnt work Right_bar_bleue

Rank permisson :
few things doesnt work Left_bar_bleue0 / 1000 / 100few things doesnt work Right_bar_bleue

Next Permisson : Admin
<font></font> : few things doesnt work Technp1
Steamid : STEAM_0:1:999441
Registration date : 2008-09-14

few things doesnt work Empty
PostSubject: Re: few things doesnt work   few things doesnt work I_icon_minitimeMon Sep 15, 2008 2:30 pm

micke1101 wrote:

Well i guess i could do this just need to change 1 thing in the code check
Hmm i guess i will have to make a loop scratch else it will be like (30*30=900) 900 checks on eash thing XD mush better with a loop XD
you could try doing things bitwise instead of direct assignment. And then loop thru each bit. Should only be 30 checks instead of 900

useless info: it wouldn't be 30 * 30 but !30(30+29+28...+1) instead which would equate to 465 checks instead of 900
Back to top Go down
http://noobplanet.net
Sponsored content





few things doesnt work Empty
PostSubject: Re: few things doesnt work   few things doesnt work I_icon_minitime

Back to top Go down
 
few things doesnt work
Back to top 
Page 1 of 2Go to page : 1, 2  Next

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