Dj_Stay Posted June 2, 2010 Report Share Posted June 2, 2010 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 1 Link to comment Share on other sites More sharing options...
Turismo Posted June 2, 2010 Report Share Posted June 2, 2010 translate.google.lv rulz Link to comment Share on other sites More sharing options...
Dj_Stay Posted June 2, 2010 Author Report Share Posted June 2, 2010 LOL tur ir tikai puse :D Pasties kartigi 1 Link to comment Share on other sites More sharing options...
Turismo Posted June 2, 2010 Report Share Posted June 2, 2010 (edited) :D Pasties kartigi nā pubertātes vecums.. neizaudzis debīliķis... ps. iemācies pareizi nokopēt & uzrakstīt & iztulkot tas nenāktu par ļaunu, un iesaku tev mainīt savu stulbo pubertātes "LOL" attieksmi Edited June 2, 2010 by Turismo 1 Link to comment Share on other sites More sharing options...
Kefiirs666 Posted June 2, 2010 Report Share Posted June 2, 2010 (edited) Kāda jēga atrast un iekopēt tieši tādu pašu kodu? Jautājums autoram: tu pats vispār esi izlasījis un pārskatījis, to, ko esi uzrakstījis? btw - tulkojums ownz, ieteiktu biežāk apmeklēt latviešu valodas stundas... Edited June 2, 2010 by Kefiirs666 1 Link to comment Share on other sites More sharing options...
Dj_Stay Posted June 2, 2010 Author Report Share Posted June 2, 2010 (edited) 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 Edited June 2, 2010 by Dj_Stay 1 Link to comment Share on other sites More sharing options...
Turismo Posted June 2, 2010 Report Share Posted June 2, 2010 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 būtu labāk ielicis tikai linku nevis rakstījis "ka gribeju" 1 Link to comment Share on other sites More sharing options...
wasabikus Posted June 2, 2010 Report Share Posted June 2, 2010 (edited) Pff no war3ft.com pārkopēja un iztolkoja :D P.s Es varētu uzbliezt pamācību kā es veidoju to visu tur ir daudz savādāk bet any way kas gribēs kko pārveidot arī iekš war3ft.com atradīs topašu ko šiten uzbakstīja Karoč plagiāts + TU ar šito topiku pāris cilvēkiem aplauzi iespēju nopelnīt moneyu Edited June 2, 2010 by wasabikus 1 Link to comment Share on other sites More sharing options...
Palaidnis Posted June 2, 2010 Report Share Posted June 2, 2010 Nesāc tikai jau raudāt enīvei, labi, ka vismaz ir kāds dabas brīnums, kas ko tādu izdara, respektīvi pārkopē, jo ir daudzi sīki dauņi, kas šitādas lietas nerubī, rekur vismaz ir kāds sūdc, no kā aizņemties to domu! 1 Link to comment Share on other sites More sharing options...
wasabikus Posted June 2, 2010 Report Share Posted June 2, 2010 (edited) Labāk būtu ja nebūtu,tad kā tu saki "sīkie luņi" pirku pa moneyu.... +Būs arī tādi kas i šito visu gatavo nemācēs mutē ielikt.. Edited June 2, 2010 by wasabikus 1 Link to comment Share on other sites More sharing options...
Palaidnis Posted June 2, 2010 Report Share Posted June 2, 2010 +Būs arī tādi kas i šito visu gatavo nemācēs mutē ielikt.. Protams, ka būs, bet tomēr, šaubos, ka viņi arī gribēs tev tērēt kkādu dvacāru par kkādu war3 ar 16 līmeņiem. Visp. war3 vairs nav topā... 1 Link to comment Share on other sites More sharing options...
Dj_Stay Posted June 2, 2010 Author Report Share Posted June 2, 2010 (edited) 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 Edited June 2, 2010 by Dj_Stay 1 Link to comment Share on other sites More sharing options...
wasabikus Posted June 2, 2010 Report Share Posted June 2, 2010 (edited) Nu bet anyway pēc viņas var uzbliezt tos 13-9999lvl īsti viņu neesu lasījis jo taisīju pēc savas receptes.... Edited June 2, 2010 by wasabikus Link to comment Share on other sites More sharing options...
remix.cc Posted June 4, 2010 Report Share Posted June 4, 2010 // 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}; Nafig tu neatstaji 11, ja neesi sarakstijis MAX_LEVELS+1 daudzumu ar skaitliem? Link to comment Share on other sites More sharing options...
Dj_Stay Posted June 4, 2010 Author Report Share Posted June 4, 2010 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}; Nafig tu neatstaji 11, ja neesi sarakstijis MAX_LEVELS+1 daudzumu ar skaitliem? Jo MAX_LEVELS ir 13 Link to comment Share on other sites More sharing options...
remix.cc Posted June 5, 2010 Report Share Posted June 5, 2010 War3ft 13-16lvl standarta bija kkas lidzigs, piem. new XP[3] = {4 , 6, 8} tu uztaisiji kko tadu new XP[10] = {4, 6, 8} cik es saprotu shi koda nozimi (// Amount of XP awarded when killing a user of this level), tad (skaties manu piemeru) , es sasniedzot 9lvl XP vareshu iegut tikai no 1, 2, 3 LVL speletajiem, attiecigi 4, 6 vai 8 XP. Ja es nogalinashu cilveku, kuram ir virs 3LVL es neko nedabushu... protams, koda varbut ir kada aizsardziba tadam gadijumam, bet divaini , jo kapec tad vinji uzreiz nelika new XP[Max_lvl+1] = {...} bet rakstija tieshi tos 11 ? Link to comment Share on other sites More sharing options...
raimoo1 Posted August 3, 2010 Report Share Posted August 3, 2010 atjauno sprites linku Link to comment Share on other sites More sharing options...
raimoo1 Posted August 3, 2010 Report Share Posted August 3, 2010 Atvainojos par duble post bet vai vismaz kāds cits varētu ielikt linku uz sprites? Link to comment Share on other sites More sharing options...
ngEAr Posted August 3, 2010 Report Share Posted August 3, 2010 http://wc3mods.net/forums/viewtopic.php?f=21&t=3759 Link to comment Share on other sites More sharing options...
raimoo1 Posted August 3, 2010 Report Share Posted August 3, 2010 (edited) Pirms aizklope sitos postu tapat ka citus . kur adbilde pat nav dota tur links ari neiet ngEAr: tad kapec es to topicu lasu ? Edited August 3, 2010 by ngEAr Link to comment Share on other sites More sharing options...
Recommended Posts