Jump to content
GIGN Forum

Dj_Stay

Mirstīgais
  • Posts

    648
  • Joined

  • Last visited

Everything posted by Dj_Stay

  1. ieej scripts/war3ft/xp.h atrodi new iXPLevelSaved[MAX_LEVELS+1] = {0,260,520,1040,2080,4160,8320,16640,33280,66560,133120}; Un kur ir skaitli redige Tie par katru limeni xp
  2. <%HEADER%> laikam sita pasa sakuma jabut izdzes un tad vairs laikam nebus isti neaceros :S
  3. man itka gribejas kipa no tejienas g2play.net pirkt CS bet ja saka ka neisaka, tad var TC.
  4. Sveiki velejos uzsprasit vai sis man sanaktu ? Vnk agrak man bija vecajos war3ft failos, bet visu izsdzesu un pazuda set_user_health = random sum( id, VENGEANCE_HEALTH_MIN, VENGEANCE_HEALTH_MAX );
  5. Isteniba es sito pamacibu liku kaut kur citur, bet es ieliku te, jo ir visadi dauni, kas pat nemak save xp uzlikt Un 4ikst.... P.S Neuztraucas money vares dabut, jo 100% visiem nesanaks, jo to pamacibu lasot ir vnk dirsa
  6. Kas teica, ka tulkoju ? P.S Es rakstiju ka gribeju un sito es rakstiju pamacibu, jo daudzi prasa ka uzstaisit un utt un, lai cilveki zinatu ka taisit, jo man ir pasam servers ar 13LVL un editots ta nu ka es no ta war3ft.com foruma agrak macijos
  7. Sveiki, man ir tada problema ka es neaceros kads bija tas webs kur vareja paleto nopirkt steam speles pa kadi 4ls vareja 8 steam speles Ludzu pasakat Paldies !
  8. Sveiki sodien velos jums iemacit, ka izveidot War3FT serveri ar 13 LVL un reizi ari varam iemacities, ka uz 16 LVL + Jums iemacishu dazus panemienus uz WAR3FT servera editoshanas Sakam un velos pasacit ka so pamacibu veidoja Frozen Life no EXT komandas 1. Novelak kadu ertu War3FT versiju ka piemeram RC12 kuru var noka4at seit: http://war3ft.com/downloads/amxx/war3ft_v3.0rc12.zip 2. Atveram scriptu mapiti un izvelamies war3ft mapiti Un sakam visu mainit 3. Pirmais ko izdaram ir atveram so failu constants.inl sameklejam rindinu #define MAX_LEVELS Lidz ar to pretim ir skaitilis uz limeni un samainam uz vajadzigo ! 4. Nakamais ko izdaram atrodam so failu un atveram war3ft.inl un sameklejam sadu rindu // User is under level 10 else if ( p_data[id][P_LEVEL] < 10 ) { pos += formatex( szRaceInfo[pos], 255, "%s %L: %d XP: %d/%d ", szShortRaceName, id, "WORD_LEVEL", p_data[id][P_LEVEL], p_data[id][P_XP], XP_GetByLevel( p_data[id][P_LEVEL]+1) ); formatex( szXPInfo, 31, "%L: %d XP: %d/%d", id, "WORD_LEVEL", p_data[id][P_LEVEL], p_data[id][P_XP], XP_GetByLevel( p_data[id][P_LEVEL]+1 ) ); } un samaina uz so // User is under level 10 else if ( p_data[id][P_LEVEL] < MAX_LEVELS ) { pos += formatex( szRaceInfo[pos], 255, "%s %L: %d XP: %d/%d ", szShortRaceName, id, "WORD_LEVEL", p_data[id][P_LEVEL], p_data[id][P_XP], XP_GetByLevel( p_data[id][P_LEVEL]+1) ); formatex( szXPInfo, 31, "%L: %d XP: %d/%d", id, "WORD_LEVEL", p_data[id][P_LEVEL], p_data[id][P_XP], XP_GetByLevel( p_data[id][P_LEVEL]+1 ) ); } talak tanni pasa faila atrodam so rindu // User is under level 10 else if ( p_data[id][P_LEVEL] < 10 ) { pos += formatex( szRaceInfo[pos], 255, "%s %L: %d^nXP: %d/%d^n", szShortRaceName, id, "WORD_LEVEL", p_data[id][P_LEVEL], p_data[id][P_XP], XP_GetByLevel( p_data[id][P_LEVEL]+1) ); } un samaina uz so // User is under level 10 else if ( p_data[id][P_LEVEL] < MAX_LEVELS ) { pos += formatex( szRaceInfo[pos], 255, "%s %L: %d^nXP: %d/%d^n", szShortRaceName, id, "WORD_LEVEL", p_data[id][P_LEVEL], p_data[id][P_XP], XP_GetByLevel( p_data[id][P_LEVEL]+1) ); } Un vel tani pasafaila atrodam so rindu // Do we need to give this user XP? new iStartLevel = get_pcvar_num( CVAR_wc3_start_level ); if ( p_data[id][P_XP] < XP_GetByLevel( iStartLevel ) && iStartLevel > 0 && iStartLevel <= 10 ) { un samainam uz so // Do we need to give this user XP? new iStartLevel = get_pcvar_num( CVAR_wc3_start_level ); if ( p_data[id][P_XP] < XP_GetByLevel( iStartLevel ) && iStartLevel > 0 && iStartLevel <= MAX_LEVELS ) { talak atkal tani pasa sudainaja faila atrodam sito rindu // Store level sprite names for ( i = 0; i < 11; i++ ) { formatex( g_szLevelSprites[i], 63, "sprites/warcraft3/level/a_level_%d.spr", i ); } un samainam uz so // Store level sprite names for ( i = 0; i < MAX_LEVELS+1; i++ ) { formatex( g_szLevelSprites[i], 63, "sprites/warcraft3/level/a_level_%d.spr", i ); } Un beidzot tikam lidz nakamajm failam Kurs ir xp.inl tur daram sekojosi, atrodam sito new Float:iLevelMultiplier = ( fCurrentLevel / 10.0 ) + 1.0; samainam uz sito new Float:iLevelMultiplier = ( fCurrentLevel / float(MAX_LEVELS) ) + 1.0; un tad tani pasa faila ir vel rinda sita XP_GetByLevel( iLevel ) { if ( iLevel < 0 || iLevel > 10 ) { return 0; } kura jasamaina uz so XP_GetByLevel( iLevel ) { if ( iLevel < 0 || iLevel > MAX_LEVELS ) { return 0; } un tagad vel ir si rinda XP_GivenByLevel( iLevel ) { if ( iLevel < 0 || iLevel > 10 ) { return 0; } kas jasamaina uz so XP_GivenByLevel( iLevel ) { if ( iLevel < 0 || iLevel > MAX_LEVELS ) { return 0; } Un talak esam tikushi lidz sim admin.inl kur jamaina viss sekojosi new iLevel = str_to_num( szArg2 ); if ( iLevel < 0 || iLevel >= 11 ) { ADMIN_Print( id, "%s Error, level must be in between (or equal to) 0 and 17", g_MODclient ); return PLUGIN_HANDLED; } sis uz so new iLevel = str_to_num( szArg2 ); if ( iLevel < 0 || iLevel >= MAX_LEVELS+1 ) { ADMIN_Print( id, "%s Error, level must be in between (or equal to) 0 and 17", g_MODclient ); return PLUGIN_HANDLED; } Tagad pats grutakais ir prom Vel vaig pamainit seit xp.h sitas // Amount of XP needed to gain a level new iXPLevelShortTerm[11] = {0,150,300,600,1000,1500,2100,2800,3400,4500,5500}; new iXPLevelSaved[11] = {0,100,200,400,800,1600,3200,6400,12800,25600,51200}; // Amount of XP awarded when killing a user of this level new iXPGivenShortTerm[11] = {10,15,25,35,40,50,60,70,80,90,95}; new iXPGivenSaved[11] = {6,8,10,12,14,16,18,20,24,28,32}; uz so // Amount of XP needed to gain a level new iXPLevelShortTerm[MAX_LEVELS+1] = {0,150,300,600,1000,1500,2100,2800,3400,4500,5500}; new iXPLevelSaved[MAX_LEVELS+1] = {0,100,200,400,800,1600,3200,6400,12800,25600,51200,60000,70000,80000}; // Amount of XP awarded when killing a user of this level new iXPGivenShortTerm[MAX_LEVELS+1] = {10,15,25,35,40,50,60,70,80,90,95}; new iXPGivenSaved[MAX_LEVELS+1] = {6,8,10,12,14,16,18,20,24,28,32}; P.S So XP daudzumu varat ari mainit Ta, tad vel jums iedoshu sprites failus http://wc3mods.net/forums/download/file.php?id=460 Ta, tad saksim mes pielikt 13 lvl rasem limeni 4 lvl Sis bus vieglaks Nela viss parejais 1. Atveram constants.inl un atrodam liniju #define MAX_SKILLS un tur uzrakstam laikam 48 2. Atrodam sito: // Constants for Abilities new const Float:p_vampiric[3] = {0.10,0.20,0.30} // Vampiric Aura (skill 1) new Float:p_unholy[3] = {265.0,285.0,300.0} // Unholy Aura (skill 2) new Float:p_unholy_dod[3] = {33.3,66.6,100.0} // Unholy Aura (skill 2) new const Float:p_levitation[3] = {0.8,0.6,0.4} // Levitation (skill 3) new const p_invisibility[3] = {200,175,135} // Invisibility (skill 1) new const p_devotion = 15 // Devotion Aura (skill 2) new const Float:p_bash[3] = {0.10,0.20,0.30} // Bash (skill 3) new const Float:p_critical[3] = {0.25,0.50,0.75} // Critical Strike (skill 1) new const Float:p_grenade[3] = {2.0,3.0,4.0} // Critical Grenade (skill 2) new const Float:p_ankh[3] = {0.333,0.666,1.0} // Equipment reincarnation (skill 3) new const Float:p_evasion[3] = {0.1,0.175,0.25} // Evasion (skill 1) new const Float:p_thorns[3] = {0.05,0.1,0.15} // Thorns Aura (skill 2) new const Float:p_trueshot[3] = {0.1,0.2,0.35} // Trueshot Aura (skill 3) new const Float:p_phoenix[3] = {0.333,0.666,1.0} // Phoenix (skill 1) new const p_phoenix_dod[3] = {300,600,900} // Phoenix - DOD (skill 1) new const Float:p_banish[3] = {0.05,0.10,0.15} // Banish (skill 2) new const Float:p_mana[3] = {0.02,0.04,0.08} // Siphon Mana (skill 3) new const Float:p_resistant[11] = {0.02, 0.04, 0.08, 0.12, 0.16, 0.20, 0.24, 0.28, 0.32, 0.36, 0.40} // Resistant Skin (Skill 4) new const Float:p_heal[3] = {6.0,4.0,2.0} // Healing Wave (skill 1) new const Float:p_hex[3] = {0.05,0.10,0.15} // Hex (skill 2) new const p_serpent[3] = {1,2,3} // Serpent Ward (skill 3) new const Float:p_concoction[11] = {0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09, 0.10, 0.15} // Unstable Concoction (Skill 4) new const Float:p_fan[3] = {0.05,0.10,0.15} // Fan of Knives (skill 1) new const Float:p_blink[3] = {0.333,0.666,1.0} // Blink (skill 2) new const Float:p_shadow[3] = {0.05,0.10,0.15} // Shadow Strike (skill 3) new const Float:p_harden[11] = {0.03, 0.05, 0.10, 0.15, 0.20, 0.25, 0.30, 0.35, 0.40, 0.45, 0.50} // Hardened Skin (Skill 4) new const Float:p_impale[3] = {0.05,0.1,0.15} // Impale (skill 1) new const Float:p_spiked[3] = {0.05,0.1,0.15} // Spiked Carapace (skill 2) new const Float:p_carrion[3] = {0.05,0.10,0.15} // Carrion Beetle (skill 3) new const Float:p_orb[11] = {0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09, 0.10, 0.15} // Orb of Annihilation (Skill 4) Saiman uz so: // Constants for Abilities new const Float:p_vampiric[4] = {0.10,0.20,0.30,0.40} // Vampiric Aura (skill 1) new Float:p_unholy[4] = {265.0,285.0,300.0,320.0} // Unholy Aura (skill 2) new Float:p_unholy_dod[4] = {33.3,66.6,100.0,133.3} // Unholy Aura (skill 2) new const Float:p_levitation[4] = {0.8,0.6,0.4,0.3} // Levitation (skill 3) new const p_invisibility[4] = {200,175,135,120} // Invisibility (skill 1) new const p_devotion = 15 // Devotion Aura (skill 2) new const Float:p_bash[4] = {0.10,0.20,0.30,0.40} // Bash (skill 3) new const Float:p_critical[4] = {0.25,0.50,0.75,0.85} // Critical Strike (skill 1) new const Float:p_grenade[4] = {2.0,3.0,4.0,5.0} // Critical Grenade (skill 2) new const Float:p_ankh[4] = {0.333,0.666,0.788,1.0} // Equipment reincarnation (skill 3) new const Float:p_evasion[4] = {0.1,0.175,0.25,0.275} // Evasion (skill 1) new const Float:p_thorns[4] = {0.05,0.1,0.15,0.2} // Thorns Aura (skill 2) new const Float:p_trueshot[4] = {0.1,0.2,0.35,0.45} // Trueshot Aura (skill 3) new const Float:p_phoenix[4] = {0.333,0.666,0.788,1.0} // Phoenix (skill 1) new const p_phoenix_dod[4] = {300,600,900,1200} // Phoenix - DOD (skill 1) new const Float:p_banish[4] = {0.05,0.10,0.15,0.20} // Banish (skill 2) new const Float:p_mana[4] = {0.02,0.04,0.08,0.12} // Siphon Mana (skill 3) new const Float:p_resistant[14] = {0.02, 0.04, 0.08, 0.12, 0.16, 0.20, 0.24, 0.28, 0.32, 0.34, 0.36,0.38,0.40,0.42} // Resistant Skin new const Float:p_heal[4] = {6.0,4.0,2.0,1.5} // Healing Wave (skill 1) new const Float:p_hex[4] = {0.05,0.10,0.15,0.20} // Hex (skill 2) new const p_serpent[4] = {1,2,3,4} // Serpent Ward (skill 3) new const Float:p_concoction[14] = {0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09, 0.10, 0.11,0.12,0.13,0.14} // Unstable Concoction (Skill 4) new const Float:p_fan[4] = {0.05,0.10,0.15,0.20} // Fan of Knives (skill 1) new const Float:p_blink[4] = {0.333,0.666,0.8,1.0} // Blink (skill 2) new const Float:p_shadow[4] = {0.05,0.10,0.15,0.20} // Shadow Strike (skill 3) new const Float:p_harden[14] = {0.03, 0.05, 0.10, 0.15, 0.20, 0.25, 0.30, 0.35, 0.37, 0.40, 0.43,0.46,0.50,0.55} // Hardened Skin (Skill 4) new const Float:p_impale[4] = {0.05,0.1,0.15,0.2} // Impale (skill 1) new const Float:p_spiked[4] = {0.05,0.1,0.15,0.2} // Spiked Carapace (skill 2) new const Float:p_carrion[4] = {0.05,0.10,0.15,0.2} // Carrion Beetle (skill 3) new const Float:p_orb[14] = {0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09, 0.10, 0.11,0.12,0.13,0.15} // Orb of Annihilation (Skill 4) Talak atrodam sitadu rindinu #define MAX_SKILL_LEVEL Un samaina uz 4 Talak daram sekojosi 1. Atveram skill_manager.inl Un atrodam sito: // Technically we shouldn't have a skill level EVER greater than 3 right? if ( iLevel > 3 ) { WC3_Log( false, "Setting skill %d to %d wtf?? (%d)", skill_id, iLevel, iDebugID ); log_error( AMX_ERR_NATIVE, "Setting skill %d to %d wtf?? (%d)", skill_id, iLevel, iDebugID ); return; } un samaina uz so // Technically we shouldn't have a skill level EVER greater than 3 right? if ( iLevel > MAX_SKILL_LEVEL ) { WC3_Log( false, "Setting skill %d to %d wtf?? (%d)", skill_id, iLevel, iDebugID ); log_error( AMX_ERR_NATIVE, "Setting skill %d to %d wtf?? (%d)", skill_id, iLevel, iDebugID ); return; } Viss ir itka Jabut jums ir 13 LVL Pec sis pamacibas ko ir veidojis Frozen Life aka Dj_Stay var ari izveidot serveri ar 16 LVL es sprites.rar esmu ari ielicis lidz 16 LVL vnk 13 LVL vieglak Un velejos jums piebilst, ka ja jus velaties mainit skanas un utt, tad jums vaig iegriesties faila war3ft.inl Tur jau pasa sakuma viss bus redzams Paldies par uzmanibu un velu jums veiksmi Ar serveru radishanu + Ja jums kaut kas nesanak, tad sakiet saja TOPIC..... Credits: Frozen Life @ EXT aka Dj_Stay
  9. Ej uz turieni kur vinu pirki vai ja pasutiji caur netu, tad saki galvenajiem
  10. Es zinu, jo ja 4alim dirsa kaut ko baz vinam atrak nojiet Varbut vinai nebija laika
  11. Dj_Stay

    Eksāmens 2010

    Liels paldies Es vakar sakot no 9 rita lidz 7 vakara kopa ar Anglu valodas skolotaji iznemu visas vielas, kas bija pa visu pusgadu
  12. chalit ja tu sitas doma darit ari nakotne bez 0 zinashana, tad nekur netiksi talu Iesaku tev izlasit kriminal lietu gramatinu un sakt rubit druscin macibas, jo bus ta pat ka manam klasesbiedram ! Vinu uzskera par Koka pardoshanu un vins dal savas mutes tagad SEZ !
  13. Man diska ir ! Kas naca lidzi PC
  14. Man video draivers ir, bet man ir ta ka bilde psc ja man sita vaidzes visu savu atlikusho muzu ar tadu fignu
  15. Sveiki man ir sekojosa problema, vakar es izdomaju parinstalet PC un ka redzat, kas man ir sanacis viss ir ti liels vnk OMG cina taisna linija ja labi 7 iconi ielien Pirms tam ta nebija Manam PC laikam ir 19 collas...
  16. Dj_Stay

    Kostīms

    aizej uz bernu pasauli un utr pa hotj 70ls dabusi normalu uzvalku
  17. Dj_Stay

    Nezinamais

    OMG ja kads to zinatu gan jau tev pateiktu 100% ir saules galatika tada pati daunu planeta ar inflaciju, ka mes
  18. Sveiki, man ir tada problema, jeb kurs, kas nak mana serveri vinam izmet sito: STEAM userid keysize is bogus (-497609719/1024)
×
×
  • Create New...