Jump to content

luis.seifert

Members
  • Content Count

    51
  • Joined

  • Last visited

  • Days Won

    1

luis.seifert last won the day on January 7 2015

luis.seifert had the most liked content!

About luis.seifert

  • Rank
    Advanced Member

Profile Information

  • Github
    Luis~

Recent Profile Visitors

2193 profile views
  1. I'm glad that you are back! Errando discitur
  2. Hello Community, i was wondering why the Hecules isnot optimezed to use all the thread of the cpu... Hands on that, i try by myself doing some mods at the source and got no problems while compiling and using the modified source to play, here is a example: /src/char/char.c original: int mapif_sendall(unsigned char *buf, unsigned int len){ int i, c; nullpo_ret(buf); c = 0; for(i = 0; i < ARRAYLENGTH(chr->server); i++) { int fd; if ((fd = chr->server[i].fd) > 0) { WFIFOHEAD(fd,len); memcpy(WFIFOP(fd,0), buf, len); WFIFOSET(fd,len); c++; } } return c;} parallel: #include <omp.h>int mapif_sendall(unsigned char *buf, unsigned int len){ int i, c; nullpo_ret(buf); c = 0; #pragma omp parallel reduction(+:c) //reduction to prevent race condition on c { #pragma omp for schedule(static) //will devide i/thread for(i = 0; i < ARRAYLENGTH(chr->server); i++) { int fd; if ((fd = chr->server[i].fd) > 0) { WFIFOHEAD(fd,len); memcpy(WFIFOP(fd,0), buf, len); WFIFOSET(fd,len); c++; } } } return c;} So... Why not use? Just by respecting some rules and including one more library we can make a very efficient code with the same code...
  3. Go to kvm script and change the coordinates of the basilica.
  4. Seu servidor parece estar usando o mob.txt, eu acho, ou experimente mudar o db.mob para `mob_db`
  5. item_db2.conf : Slots: 1 iteminfo.lub : slotCount = 2 change both to 2. [Weapon_IDs.WEAPONTYPE_longsword] = Weapon_IDs.WPCLASS_WEAPONTYPE_SWORD change to [Weapon_IDs.WEAPONTYPE_longsword] = Weapon_IDs.WEAPONTYPE_SWORD
  6. luis.seifert

    Ajuda com error!

    Exraia esses arquivos na pasta: dataspriteÀΰ£Á·¸ùÅ© ¸ùÅ©.rar
  7. Enfim, a solução foi ativar uma opção relacionada com quests na hora de diffar o cliente Obrigado a todos que ajudaram.
  8. Can you create a HUB, so we can help you, what you think?
  9. This is 10/10, Can you tell us how do you make the fake guild (red team and blue team?) and how do you manage to use alt g and guild stuff? Thank you very much! +1 for you and for sure i will donate once its done.
  10. OnPCLoginEvent:while(isloggedin(getcharid(3))){OnSec: if( checkvending()!=2 ){ if( checkidle()==.max_idle ) atcommand "@kick " + strcharinfo(0); addtimer 1000, strnpcinfo(3)+"::OnSec"; }}}
  11. Obrigado pela ajuda Pixel, realmente era só atualizar a data.grf.
  12. Olá comunidade Alguém já passou por esse problema da neve em prontera? Eu simplesmente não consigo remover, já tentei @snow, clearweather... E não sai de jeito nenhum!
  13. Olá comunidade do Hercules! Gostaria de reduzir o dano máximo refletido pelos paladinos e pelos stalkers, eu uso hercules de julho de 2014. Já alterei em battle.c para refletir no máximo o HP total do stalker, agora queria diminuir o reflect dos paladinos também. O que eu alterei: if(wd.damage && tsc && tsc->data[SC_SWORDREJECT] && (src->type!=BL_PC || ( ((TBL_PC *)src)->weapontype1 == W_DAGGER || ((TBL_PC *)src)->weapontype1 == W_1HSWORD || ((TBL_PC *)src)->status.weapon == W_2HSWORD )) && rnd()%100 < tsc->data[SC_SWORDREJECT]->val2 ) { ATK_RATER(50); wd.damage = min(status_get_max_hp(target),wd.damage); status_fix_damage(target,src,wd.damage,clif->damage(target,src,0,0,wd.damage,0,0,0)); clif->skill_nodamage(target,target,ST_REJECTSWORD,tsc->data[SC_SWORDREJECT]->val1,1); if( --(tsc->data[SC_SWORDREJECT]->val3) <= 0 ) status_change_end(target, SC_SWORDREJECT, INVALID_TIMER); } Alguém sabe aonde fica o reflect do paladino para eu poder alterar? Obrigado
  14. Você fala nessa parte? if (mvp_points < @prize) { //Verificação da quantidade de MVP Points mes .npcname$; mes "Você não possui MVP Points suficientes."; close;} Eu acredito que o erro esteja no uso dessa variável mvp_points, não sei quem criou esse script da parte de cima, mas eu não estou o entendendo, talvez alguém mais experiente possa te ajudar.
  15. luis.seifert

    Download Grf

    https://www.google.com.br/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=data.grf%20kro
×
×
  • Create New...

Important Information

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