Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/12/12 in all areas

  1. Hello. I want to inform you of the two new flags in item_trade.txt from r15564. (Please ignore the "(nor mailed/auctioned)" behind flag 1; that's a wrong comment and will be fixed soon.) If an item wasn't dropable (flag 1) it was impossible to send it as mail attachment or sell it via auction, too. We now separated all three flags to be more flexible: Dear server owners, please make sure to check your custom entries when updating your SVN to avoid exploits. ~Kenpachi~
    4 points
  2. 2/3 chance plant the Critical stickybomb http://i.imgur.com/2oqnr.jpg Download Source Code STICKYBOMB.rar Download .GRF STICKYBOMB.grf db\\mob_db2.txt 2127,SOCCER_BALL,stickbomb,stickbomb,1,2000,0,0,0,1,0,0,0,0,1,1,1,1,1,1,1,1,0,3,86,0x0040,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 db\\mob_avail.txt 2127,1792 data\\lua files\\skillinfoz\\skillid.lua STICKYBOMB = 999, STICKYBOMBBOMB = 998, data\\lua files\\skillinfoz\\skillinfolist.lua [sKID.STICKYBOMB] = { "STICKYBOMB"; SkillName = "STICKYBOMB", MaxLv = 10, SpAmount = { 10, 10, 10, 10, 10, 10, 10, 10, 10, 10 }, }, [sKID.STICKYBOMBBOMB] = { "STICKYBOMBBOMB"; SkillName = "STICKYBOMBBOMB", }, battle.c http://pastebin.com/....php?i=5VizNY5g Find this function. int battle_calc_damage(struct block_l... go to the end. status_damage(src, s_bl, damage, 0, clif_damage(s_bl, s_bl, gettick(), 500, 500, damage, -1, 0, 0), 0); return ATK_NONE; } } } return damage; } add damage=stickybombdamage(src, bl, damage); top the return damage; and add new function int stickybombdamage(struct block_list *src, struct block_list *bl, int damage) { int _far=0, i=0; if(src->sbp==bl->sbp) return 0; for(i=0;i<=MAX_STICKYBOMB;i++) if(src->stickbomb[i]!=-1) break; if(i==MAX_STICKYBOMB) damage = damage*3; else { _far = distance_xy(src->x,src->y,bl->x,bl->y)+1; _far = _far >= 10 ? 10 : _far ; damage = damage/_far; } return damage; } map.c http://pastebin.com/....php?i=aKRM2P9V pc_makesavestatus(sd); pc_clean_skilltree(sd); chrif_save(sd,1); unit_free_pc(sd); killstickybmob(sd,0); //Add return 0; map.h http://pastebin.com/....php?i=UuyR67YF struct block_list { struct block_list *next,*prev; int id, sbp; //Add short m,x,y; enum bl_type type; int stickbomb[MAX_STICKYBOMB]; //Add }; mmo.h #define MAX_STICKYBOMB 8 //Add pc.c http://pastebin.com/....php?i=H2zxukgJ Add this function. void killstickybmob(struct map_session_data* sd, int t) { struct block_list *mb = NULL; int i=0; if(sd==NULL) return; for(;i <= MAX_STICKYBOMB ;i++) { mb=map_id2bl(sd->bl.stickbomb[i]); if(mb!=NULL) if(!t) status_kill(mb); else unit_skilluse_id(mb, mb->id, 173, 1); else continue; } return; } pc.h Add this define. void killstickybmob(struct map_session_data* sd, int t); skill.c http://pastebin.com/....php?i=4dGTqDri Add this function. void _STICKYBOMB(struct block_list *src, struct block_list *bl, int skillid, int skilllv) { int _x=0, _y=0, i=0, id=0; struct block_list *mb = NULL; switch(unit_getdir(bl)) { case 0: _x = 0; _y = 1; break; case 1: _x = -1; _y = 1; break; case 2: _x = -1; _y = 0; break; case 3: _x = -1; _y = -1; break; case 4: _x = 0; _y = -1; break; case 5: _x = 1; _y = -1; break; case 6: _x = 1; _y = 0; break; case 7: _x = 1; _y = 1; break; } _x = _x*(skilllv-1); _y = _y*(skilllv-1); clif_skill_nodamage(src,bl,skillid,skilllv,0); id=mob_once_spawn(BL_CAST(BL_PC, src),src->m,src->x+_x,src->y+_y,"StickBomb",2127,1,""); src->sbp++; if(src->sbp==MAX_STICKYBOMB) src->sbp=0; mb=map_id2bl(src->stickbomb[src->sbp]); if(mb!=NULL) unit_skilluse_id(mb, mb->id, 173, 1); src->stickbomb[src->sbp]=id; mb=map_id2bl(src->stickbomb[src->sbp]); mb->sbp=src->id; if(rand()%3) { for(i=0;i<MAX_STICKYBOMB;i++) mb->stickbomb[i]=-1; clif_specialeffect(mb, 47,AREA); }else for(i=0;i<MAX_STICKYBOMB;i++) mb->stickbomb[i]=0; return; } Go to this function int skill_castend_nodamage_id find this case SM_ENDURE: and add below case STICKYBOMB: _STICKYBOMB(src, bl, skillid, skilllv); break; case STICKYBOMBBOMB: clif_skill_nodamage(src,bl,skillid,skilllv,0); killstickybmob(map_id2sd(src->id),1); break; skill.h enum e_skill { STICKYBOMB = 999, //Add STICKYBOMBBOMB = 998, //Add NV_BASIC = 1, db\\skill_cast_db.txt 999,0,0,1000:1500:2000:2500:3000:3500:4000:4500:5000:5500,0,0,0 //Add db\\skill_require_db.txt 999,0,0,10,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //STICKYBOMB //Add 998,0,0,10,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //STICKYBOMBBOMB //Add
    1 point
  3. ../src/map/battle.c //Post skill/vit reduction damage increases if( sc && skill_num != LK_SPIRALPIERCE && skill_num != ML_SPIRALPIERCE ) { //SC skill damages if(sc->data[sC_AURABLADE]) ATK_ADD(20*sc->data[sC_AURABLADE]->val1); } sc->data[sC_AURABLADE]->val1 is the used skill level.
    1 point
  4. if(getmapmobs(.spawn) == 0) { //if there no more mob on map it is better if you are using mobcount("<map name>","<event label>") so that it only count for the monster that has been spawn by this NPC script with certain Label with it.. because.. if you use the getmapmobs.... if the map have 1 or more of permamnet instant respawn mob... your event wont be end...it will last forever...since there is alway be monster in that map and i dont think it is a good idea to put in if(gettime(4)==6) && (gettime(3)==12) { at the begin of NPC script which will be triggered upon the player click on the NPC
    1 point
  5. There are also some video tutorials here: http://code.google.com/p/fluxcp/wiki/Screencasts
    1 point
  6. *Edit* What was once here has been removed due to a major misunderstanding. ill be posting it soon.
    1 point
  7. Hello everyone. Today im posting here to explain that everything that has happened in this topic was a big misunderstanding. It was wrong of me to approach the issue this way and I should of talked to Protimus first. Me and Protimus have been talking for the past week about a few things that I got the rest of the story. In the chat he explained how his part on the development of 3rd jobs started on a server called LuckyRO which I remember Limit working on too. He also did show a video from April of 2009 that was BEFORE he joined our team. So its proof for sure that he did some work and im sure Limit wouldnt make 2 totally different code to split between brAthena and 3CeAM. I did ask him about the SVN hacking, he admitted to it and I respect him for being honest (Dont hate on him for this please). However I found out that other's were attacking the SVN as well at the time. So it was a good thing we released early. Their was also a little misunderstanding in what he said in his post since his english isnt all that great. As the chat went on I realized Protimus isnt the kind of person some people say about him. He's actually nice and what he told me I felt in my gut was the truth. Talking to him reminded me of what I was like when I first started doing things for the community back in December of 2008. In the past I told myself I would never end up acting like past community members that ended up being against community member's, dev's and negative twords others, but after what happened I realized I was becoming the one thing I disliked. I had to make a change or force myself away from the community and RO all together forever to avoid disturbing the peace. So I made a change. The change required me to forget and forgive the bad events that happened in the past and move on. I didn't want to feel anymore dislike or hate twords anyone anymore. I didnt want any enemies anymore. I wanted to purge all this negativity out of me and feel like my good friendly self again. So to start with this I decided to ally up with Protimus and brAthena. Along with this decision I also forgive the dev's here for what happened in eAthena and hope we can work together. Ive been a member of the community for years and I want to do the things a real true community member would do. I want to work together with everyone and help with the development for the future of the private server community. Ive already started working with a friend to create some new decompiled lub's from scratch. I do hope things will get better from here on and that we can work together with everyone as a community. Again im very sorry for the drama.
    1 point
  8. @Prot, you claim to have "Started" sourcing Third Job codings, however, were you well enough to completely finish the coding compared to what Rytech has done? Congrats, you may have "started" it so to speak, yet you weren't capable of finishing off the codings unlike Rytech has done.
    1 point
  9. @Brainsteal This you miss understood. The person that sent that PM wasn't talking shit about brAthena. He was hating on 3CeAM. Plus im not jealous about how successful brAthena is. Is it really the best RO emulator in the world? I wouldn't exactly know, but looking at how nicely organized and documented things are, ill say it does look better then eAthena. But jealousy has nothing to do with whats going on here. @Protimus It was actually a thought that we should talk to you first, but didn't know if it was worth trying since it appeared when you made that post that you were bent on (after 2 and a half years) still trying to take credits for pretty much everything after what happened in 2009. The issues in the past makes it hard to trust someone that was said have betrayed the team. BUT, thinking about how a proper justice system works I SHOULD of at least talked to you and herd your side even if I didn't want to. So I do admit wrong on that part and am sorry. But I don't understand part of the situation. Why in your post your claiming your part of the founding of 3CeAM? Why did you say "MOST" of the skills thats in 3CeAM came from brAthena? I know very well on most parts who did the coding for what skills. And on the final part, if we were allies then why was their no communication between us? Its not possible to be allies if we don't talk at all or never talked before. Im not giving my messenger info, but ill gladly talk to you in PM on here (Not on eAthena please. My mailbox is full of important messages im trying not to delete.) If things arnt as they seem to be your welcome to talk to me and have a say on this. @Xazax Lack of communication may be the issue here. Not once has anyone from brAthena messaged me saying "Can we use your code?", "Can we add them without the credits to make things look cleaner?", "Can we work together?". With no messages sent to us, our code being added to brAthena with notes and credits removed, and someone saying in a post he created 3CeAM, most of the skills wern't made by us, and saying were allies when ive never spoke to anyone from brAthena, all together set the stage for this. So its difficult to see if what their saying is true.
    1 point
×
×
  • Create New...