Jump to content

Helfgar

Members
  • Content Count

    20
  • Joined

  • Last visited

  • Days Won

    1

Helfgar last won the day on August 24 2014

Helfgar had the most liked content!

1 Follower

About Helfgar

  • Rank
    Member
  • Birthday 07/25/1979

Profile Information

  • Gender
    Male
  • Location:
    Manaus-AM
  • Github
    helfgar
  • Emulator
    Hercules

Recent Profile Visitors

1573 profile views
  1. Aqui está para bloquear na 3ª mensagem. Onde altero isso?
  2. Coloquei meu servidor para rodar pelo No-IP. Tá tudo certinho, acesso normalemente. Porém meu amigo não consegue acessar da casa dele. Alguém pode me ajudar com isso? Agora entendi melhor o que há lá. Eu uso windows 8 e ele tá com windows 10. Ele me disse que o executável (hexed) não chega nem a abrir.
  3. Estou fazendo um servidor renewal e setei as EXP da seguinte forma base_exp_rate: 10000 e job_exp_rate: 10000. Dai loguei, usei o comando @rates e me veio isso: "Experience rates: Base 1.46x / Job 1.00x" Coloquei base_exp_rate 100 e job_exp_rate 100. E já veio diferente: Base 1.28x / Job 1.30x To muito tempo longe disso. Bem antes desse renewal e agora to voando com muita coisa. Alguém pode me dar uma força quanto a esse problema? Droga. Pode fechar o tópico. Depois de 3 dias de dor de cabeça, acabei de descobrir qual era o problema. Eu ativei o npc floating rates e ele estava mexendo nas rates.
  4. Não tá funcionando aqui. Aparece isso ai: git.exe pull -v --progress "origin" From https://github.com/HerculesWS/Hercules = [up to date] master -> origin/master = [up to date] GD_GUILD_STORAGE -> origin/GD_GUILD_STORAGE = [up to date] bcrypt -> origin/bcrypt = [up to date] char-server_update -> origin/char-server_update = [up to date] rathena -> origin/rathena = [up to date] zones -> origin/zones Auto-merging src/map/skill.c Auto-merging src/map/script.c Auto-merging src/map/pc.c Auto-merging src/map/battle.c Auto-merging db/re/mob_skill_db.txt CONFLICT (content): Merge conflict in db/re/mob_skill_db.txt Auto-merging db/re/mob_db.txt Auto-merging conf/battle/items.conf Automatic merge failed; fix conflicts and then commit the result. git did not exit cleanly (exit code 1) (3110 ms @ 31/08/2014 15:10:36)
  5. Como faço para atualizar o emulador? Para que não precise ter que baixar e configurar tudo novamente.
  6. Valeu, jaBote! Resolveu aqui.
  7. Esse script não dava erro nenhum antes, mas agora está apresentando esse erro: [Error]: script error in file 'npc/custom/stylist.txt' line 33 column 3 parse_line: expect command, missing function name or calling undeclared function 30: @style_value = getlook( .look_type[@style] ); 31: deletearray .@blacklist; 32: switch( @style ){ * 33: Case 0: .@blacklist$ = ","+getd( ".blacklist_hairstyle_"+Sex+"$" )+","; break; ~~~~~~~~~~~~~~~~^ 34: Case 1: .@blacklist$ = ","+getd( ".blacklist_haircolor_"+Sex+"$" )+","; break; 35: Case 2: .@blacklist$ = ","+getd( ".blacklist_cloth_"+Sex+"$" )+","; break; 36: default: break; E esse é o script: // credits to Annierurufunction script ValueConvert { set .@num, atoi(""+getarg(0)); if ( .@num == 0 || .@num >= 2147483647 ) return getarg(0); set .@l, getstrlen(""+.@num); for ( set .@i,0; .@i < .@l; set .@i, .@i + 1 ) { set .@num$, .@num % pow(10,.@i+1) / pow(10,.@i) + .@num$; if ( (.@i+1) % 3 == 0 && .@i+1 != .@l ) set .@num$, ","+ .@num$; } return .@num$;}- script Stylist -1,{OnTalk: mes "[^0055FF ::: Adv. Stylist ::: ^000000]"; mes "I can change your appearance."; if( .cost_size ){ mes " "; mes "^777777[ SERVICES PAYMENT ]^000000"; for( .@i = 0; .@i < .menu_size; .@i++ ) if( .npc_mode & ( 1 << .@i ) ) if( .cost[.@i] ) mes "^0055FF"+.menu_name$[.@i]+" : ^777777"+ValueConvert( .cost[.@i] )+" "+.currency_name$[.@i]+"^000000"; else mes "^0055FF"+.menu_name$[.@i]+" : ^777777Free of Charge^000000"; } next; @style = ( select( .npc_menu$ ) - 1 ); @style_value = getlook( .look_type[@style] ); deletearray .@blacklist; switch( @style ){ Case 0: .@blacklist$ = ","+getd( ".blacklist_hairstyle_"+Sex+"$" )+","; break; Case 1: .@blacklist$ = ","+getd( ".blacklist_haircolor_"+Sex+"$" )+","; break; Case 2: .@blacklist$ = ","+getd( ".blacklist_cloth_"+Sex+"$" )+","; break; default: break; } .@style_number = .min_style[@style]; addtimer 1000,strnpcinfo(0)+"::OnPCLogoutEvent"; do{ message strcharinfo(0),.menu_name$[@style]+" : "+.@style_number+"th"; .@removed = 0; if( compare( .@blacklist$,","+.@style_number+"," ) ){ message strcharinfo(0),"[ REMOVIDO ] "+.menu_name$[@style]+" : "+.@style_number+"th"; .@removed = 1; // setlook .look_type[@style],.min_style[@style]; }else{ setlook .look_type[@style],.@style_number; } .@next = .@style_number + 1; .@prev = .@style_number - 1; if( .@next > .max_style[@style] ) .@next = .min_style[@style]; if( .@prev < .min_style[@style] ) .@prev = .max_style[@style]; @select = prompt( (( .@backward )?"Backward":"Forward" )+" - [ ^777777"+(( .@backward )? .@prev:.@next )+"th Style^000000 ]", (( !.@backward )?"Backward":"Forward" )+" - [ ^777777"+(( !.@backward )? .@prev:.@next )+"th Style^000000 ]", "Jump to a Style", ( .@removed )?"":"^0055FFOkay, I want this "+.menu_name$[@style]+"^000000" ); if( @select == 2 ) .@backward = !.@backward; switch( @select ){ Case 1: Case 2: .@style_number = (( .@backward )? .@prev:.@next ); break; Case 3: message strcharinfo(0),"Available Style : "+.min_style[@style]+" ~ "+.max_style[@style]+"."; input .@style_number,.min_style[@style],.max_style[@style]; break; Case 4: .@atoi_currency = atoi( .currency$[@style] ); if( @style_value == .@style_number ){ message strcharinfo(0),"Swt..that is your original hairstyles."; break; } else if( .@atoi_currency ){ if( countitem( .@atoi_currency ) >= .cost[@style] ){ .@success = 1; delitem .@atoi_currency,.cost[@style]; } }else{ if( getd( ""+.currency$[@style] ) >= .cost[@style] ){ .@success = 1; setd( ""+.currency$[@style] ),( getd( ""+.currency$[@style] ) - .cost[@style] ); } } if( .@success ){ message strcharinfo(0),"Enjoy your NEW "+.menu_name$[@style]+" !!"; @style_value = .@style_number; }else{ mes "You dont have enough "+.currency_name$[@style]+" to change this "+.menu_name$[@style]+"."; mes "Cost : ^777777"+ValueConvert( .cost[@style] )+" "+.currency_name$[@style]+"^000000"; close2; } default: setlook .look_type[@style],@style_value; break; } }while( @select != 4 && @select != 255 ); mes "Come back again next time. ^^"; @select = 0; close2; deltimer strnpcinfo(0)+"::OnPCLogoutEvent";OnPCLogoutEvent: if( @select ) setlook .look_type[@style],@style_value; end; OnInit: // NPC Mode ( Bitmask ) // 1 - Enable Hairstyle // 2 - Enable Hair Color // 4 - Enable Cloth Color .npc_mode = 7; // Menu Name setarray .menu_name$, "Hair Style", "Hair Color", "Cloth Color"; // Payment Currency + Cost // Can be ITEM ID or Any Variable. setarray .currency$, "Zeny", // Hairstyle - Ex. need Zeny "Zeny", // Hair Color - Ex. need Zeny "Zeny"; // Cloth Color - Ex. need Zeny setarray .cost, 10000, // Hairstyle ( 10,000 Zeny ) 10000, // Hair Color ( 10,000 Zeny ) 10000; // Cloth Color ( 10,000 Zeny ) // Blacklisted Style for each style and each gender. // --- Female --- .blacklist_hairstyle_0$ = "2,4,6"; .blacklist_haircolor_0$ = "1,3,5"; .blacklist_cloth_0$ = "1,2,3"; // --- Male --- .blacklist_hairstyle_1$ = "3,5,7"; .blacklist_haircolor_1$ = "2,4,6"; .blacklist_cloth_1$ = "4,5,6"; // Dont edit setarray .min_style,getbattleflag( "min_hair_style" ),getbattleflag( "min_hair_color" ),getbattleflag( "min_cloth_color" ); setarray .max_style,getbattleflag( "max_hair_style" ),getbattleflag( "max_hair_color" ),getbattleflag( "max_cloth_color" ); .menu_size = getarraysize( .menu_name$ ); .cost_size = getarraysize( .cost ); setarray .look_type,LOOK_HAIR,LOOK_HAIR_COLOR,LOOK_CLOTHES_COLOR; for( .npc_menu$ = ""; .@i < .menu_size; .@i++ ) .npc_menu$ = .npc_menu$ + ( ( .npc_mode & ( 1 << .@i ) )? .menu_name$[.@i]:"" ) +":"; for( .@i = 0; .@i < .cost_size; .@i++ ){ .@atoi = atoi( .currency$[.@i] ); .currency_name$[.@i] = ( ( !.@atoi || getitemname( .@atoi ) == "null" )? .currency$[.@i]:getitemname( .@atoi ) ); } end;}// NPC Listsprontera,170,180,5 script Adv. Stylist#main 878,{ doevent "Stylist::OnTalk";}prontera,170,180,5 duplicate(Adv. Stylist#main) Adv. Stylist#1 878prontera,170,180,5 duplicate(Adv. Stylist#main) Adv. Stylist#2 878prontera,170,180,5 duplicate(Adv. Stylist#main) Adv. Stylist#3 878 Alguém pode me ajudar?
  8. Copy the file Weethumbnail.dll to the folder c:windowssystem32. Run the command prompt as administrator and type the following command: regsvr32 / s "% SystemRoot% system32 WeeThumbnail.dll". My windows is 8.1 and working perfectly.
  9. Andei observando que alguns estão/estavam procurando por um programa para visualizar sprites (assim como eu). Mas são tantos sprites e visualizar um a um dá um certo trabalho. Que tal visualizar vários de uma vez só? Pois o WeeThumbnail é uma dll que faz com que isso aconteça no próprio Windows Explorer, como na imagem abaixo. Muitos não estão conseguindo fazer o processo no Windows 7/8/8.1. Bem, eis o que fazer para que funcione: 1º Baixe a dll de acordo com a base do seu windows (32 bits ou 64 bits) https://subversion.assembla.com/svn/weetools/trunk/WeeThumbnail/x86%20and%20x64/ 2º Coloque o arquivo WeeThumbnail.dll na pasta c:windowssystem32 3º Execute o prompt de comando como Administrador 4º Digite (copie e cole) o seguinte comando: regsvr32 /s "%SystemRoot%system32WeeThumbnail.dll" Pronto. Seus problemas se acabaram.
  10. Uma outra questão. Troquei aqui meu hexed para o 2013-12-23. Tudo passou normal, criei o personagem, mas na hora de entrar no mapa dá erro. Algo haver com os packets. Afinal de contas, desconecta do servidor e aparece essa mensagem: [Warning]: clif_parse: Received unsupported packet (packet 0x3462 (0x068a), 19 bytes received), disconnecting session #3. Como ativo esse hexed no emulador?
  11. Apenas fiz uma pergunta. Não estou criticando nada. Não precisa se revoltar.
  12. A classe Rebellion não está funcionando ainda?
  13. O Hexed tá alinhado com o emulador. Reparei há pouco também que tem monstros em que aparece apenas o nome, nem se quer a barra aparece. Eis o drop de equipamentos: item_rate_equip: 1000000 item_rate_equip_boss: 500000 item_drop_equip_min: 1 item_drop_equip_max: 10000 P.S.: Que função é essa da barra de hp do mob?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.