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
2299 profile views
-
I'm glad that you are back! Errando discitur
-
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...
-
MapFlags, cells, Skill abuse and KvM(BG)
luis.seifert replied to tmav94's question in General Server Support
Go to kvm script and change the coordinates of the basilica. -
luis.seifert reacted to an answer to a question: Ajuda com outro npc
-
Seu servidor parece estar usando o mob.txt, eu acho, ou experimente mudar o db.mob para `mob_db`
-
luis.seifert reacted to an answer to a question: Crash in Custom Weapon
-
Black Box reacted to an answer to a question: Crash in Custom Weapon
-
luis.seifert reacted to a post in a topic: [Release] ExtendedBG for Hercules (with eAmod BG modes)
-
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
-
Exraia esses arquivos na pasta: dataspriteÀΰ£Á·¸ùÅ© ¸ùÅ©.rar
-
Enfim, a solução foi ativar uma opção relacionada com quests na hora de diffar o cliente Obrigado a todos que ajudaram.
- 19 replies
-
- quest
- null quest
-
(and 1 more)
Tagged with:
-
release [Release] ExtendedBG for Hercules (with eAmod BG modes)
luis.seifert replied to Dastgir's topic in Projects
Can you create a HUB, so we can help you, what you think? -
luis.seifert reacted to a post in a topic: [Release] ExtendedBG for Hercules (with eAmod BG modes)
-
luis.seifert reacted to a post in a topic: skilldescript e stateiconinfo do bRO
-
luis.seifert reacted to an answer to a question: [Custom battlegrounds] is it possible?
-
release [Release] ExtendedBG for Hercules (with eAmod BG modes)
luis.seifert replied to Dastgir's topic in Projects
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. -
luis.seifert reacted to a post in a topic: [Release] ExtendedBG for Hercules (with eAmod BG modes)
-
luis.seifert reacted to an answer to a question: Atcommand in item
-
How do I auto disconnect a player when they afk?
luis.seifert replied to Yume's question in General Server Support
OnPCLoginEvent:while(isloggedin(getcharid(3))){OnSec: if( checkvending()!=2 ){ if( checkidle()==.max_idle ) atcommand "@kick " + strcharinfo(0); addtimer 1000, strnpcinfo(3)+"::OnSec"; }}} -
luis.seifert reacted to a post in a topic: [Solved]Neve caindo em prontera
-
Obrigado pela ajuda Pixel, realmente era só atualizar a data.grf.
-
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!
-
luis.seifert reacted to an answer to a question: Dano da Laminas Destruidora
-
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
-
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.
-
Senos reacted to a post in a topic: Download Grf
-
JulioCF reacted to a post in a topic: Download Grf
-
https://www.google.com.br/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=data.grf%20kro