Jump to content

Dastgir

Script Developers
  • Content Count

    3803
  • Joined

  • Last visited

  • Days Won

    248

Everything posted by Dastgir

  1. Actually, iRO got deleted from my pc, and I redownloaded it 3-4 days ago but it got corrupted(don't know why, maybe bcoz of sudden pc shutdown) , so I just got my iRO, so I will have to level first, then extract some info.
  2. Using svn, nah I don't think so have a way to track. If u were using git, u can track it. But if renewal update messed up ur source, it wou,d have just errored on compiling. As far, I too have many mods in my server, but its not affected by renewal phase.
  3. status.c case SC_EDP: // [Celest] val2 = val1 + 2; //Chance to Poison enemies. val3 = 50*(val1+1); //Damage increase (+50 +50*lv%)#ifdef RENEWAL_EDP val4 = 100 * ((val1 + 1)/2 + 2);#endif if( sd )//[Ind] - iROwiki says each level increases its duration by 3 seconds tick += pc->checkskill(sd,GC_RESEARCHNEWPOISON)*3000; change the "val3" value.
  4. His point is if enabled_items: is enabled, everything else will be disabled except the entries in enable_items: so if he use disabled_items: , he will have to put all the items, which is a bad idea ofcourse.
  5. Why not have in 1 if we can have it, making it easy for owner to switch between pre-re and renewal. well my point is for those who wanna develop their re they can stay to alpha while pre-re lovers will stay to final separated files so no more argue? Pre-RE servers likes system updates too. Why finalize it. so why not separate the pre-re and merge the system updates when re is update. Is that impossible? That will make dev to work double, to add code in pre-re and in re too. if there's only 1, both are updated.
  6. Why not have in 1 if we can have it, making it easy for owner to switch between pre-re and renewal.
  7. config/application.php 'ThemeName' => array('default', 'emphaino'), change this to whichever themes you want. if want more themes, just put "," and proceed with name in inverted comma. If want less themes, just remove the name from here.
  8. File is supposed to be: themes/ThemeName/download/index.php
  9. Some rAthena NPC Merges.

    1. Dastgir

      Dastgir

      https://github.com/dastgirpojee/Hercules Will be applied when I test it if working.
  10. I was comparing rAthena and Hercules NPC, and I found following Difference 1) Cutin cutin "°í½ºÆ®¸µÄ«µå",4; <--- Hercules cutin "°í½ºÆ®¸µÄ«µå",4; // Ghostring Card <--- rAthena Does Hercules processing of ascii code different? its little bit confusing. 2)payg_cas02 Official name is Scarlet Palace or Sacred Palace?
  11. makeitem 969,1,"prt_fild08",0,0; Dropping Only 1, try to do it >1k(If you want to test) bcoz prt_fild08 is a large map and then kill a poring. P.S: Or maybe if you have tested that, you may not have loaded the script.
  12. 1. An image or description of your In-game character sprite + headgear set. :rebellion class with (red dragon wing) 2. Any Specific Color Scheme you would like : red/green 3. Any images you like that could possibly be used for the request. : none ( select one which u like) 4. Text you would like to be included or a short quote etc. :none. 5. Which name you would like on the Signature / Avatar. Dastgir Pojee 6. Some contact info of sorts so I can contact you if needed: ym/fb: [email protected]
  13. Import the SQL DB of hercules, If you import any other emulator DB, simply it will not work it will solve both of ur problem.
  14. { id: 99 name: "Admin" level: 99 inherit: ( ) commands: { item: false } log_commands: true permissions: { all_commands: true }} This is group that allows all commands and don't want to give item to gm. 1) I don't know, maybe will need a source edit.
  15. Its a big work(and don't have time now)so, Have optimized till N_Tuesday Only, You can do other too. check the script
  16. Dastgir

    Title System

    It can be done via client editing, but that too causes some unexpected behaviour.However I don't know if someone pro can do it without error or not.
  17. http://herc.ws/board/topic/2104-what-this-checks/ ScriptCommand should return true;
  18. Updated to r40: Changelogs: Formatted to Latest kRO Files Updated to Latest kRO Files. Unupdated Files: -->skilldescript.lua -->stateiconinfo.lua -->navi_mob_krpri.lua -->skillinfolist.lua -->System/ Folder Quest Folder Updated,(There was some variable added,) Updated many untranslated things. r41: Added questid2display of kro and seperated iro questid2display. r43: card updated. Soon:System Folder.
  19. But with custom script command, it always returns false and dumps the error(but script is executed.).Should custom function return 1?
  20. soon will release php version of lub to lua.

  21. int run_func(struct script_state *st){ struct script_data* data; int i,start_sp,end_sp,func; end_sp = st->stack->sp;// position after the last argument for( i = end_sp-1; i > 0 ; --i ) if( st->stack->stack_data[i].type == C_ARG ) break; if( i == 0 ) { ShowError("script:run_func: C_ARG not found. please report this!!!n"); st->state = END; script_reportsrc(st); return 1; } start_sp = i-1;// C_NAME of the command st->start = start_sp; st->end = end_sp; data = &st->stack->stack_data[st->start]; if( data->type == C_NAME && script->str_data[data->u.num].type == C_FUNC ) func = data->u.num; else { ShowError("script:run_func: not a buildin command.n"); script_reportdata(data); script_reportsrc(st); st->state = END; return 1; } if( script->config.warn_func_mismatch_argtypes ) { script_check_buildin_argtype(st, func); } if(script->str_data[func].func){ if (!(script->str_data[func].func(st))){ //Report error script_reportsrc(st); } } else { ShowError("script:run_func: '%s' (id=%d type=%s) has no C function. please report this!!!n", script->get_str(func), func, script_op2name(script->str_data[func].type)); script_reportsrc(st); st->state = END; } // Stack's datum are used when re-running functions [Eoe] if( st->state == RERUNLINE ) return 0; script->pop_stack(st, st->start, st->end); if( st->state == RETFUNC ) {// return from a user-defined function struct script_retinfo* ri; int olddefsp = st->stack->defsp; int nargs; script->pop_stack(st, st->stack->defsp, st->start);// pop distractions from the stack if( st->stack->defsp < 1 || st->stack->stack_data[st->stack->defsp-1].type != C_RETINFO ) { ShowWarning("script:run_func: return without callfunc or callsub!n"); script_reportsrc(st); st->state = END; return 1; } script->free_vars( st->stack->var_function ); ri = st->stack->stack_data[st->stack->defsp-1].u.ri; nargs = ri->nargs; st->pos = ri->pos; st->script = ri->script; st->stack->var_function = ri->var_function; st->stack->defsp = ri->defsp; memset(ri, 0, sizeof(struct script_retinfo)); script->pop_stack(st, olddefsp-nargs-1, olddefsp);// pop arguments and retinfo st->state = GOTO; } return 0;} Above is code of run_func() I want to ask what this checks for if(script->str_data[func].func){ if (!(script->str_data[func].func(st))){ //Report error script_reportsrc(st); } } because its the part that goes to script_reportsrc and gives some [Debug]: Source (NPC) Invisible on map
  22. It cannot happen, bcoz poring is spawned first then the fake ones. Do one thing, start event, then do @mobsearch 1002 Then it will show u list of poring with their names and co ordinate, just check there if name Poring exists. If its there , then ur players are lazy to find it.
×
×
  • Create New...

Important Information

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