GGG2020
-
Posts
16 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by GGG2020
-
-
-
Meron ka po bang screenshot habang suot mo?
-
is there a way to make this script only works when attacking or when being hit by player but not by monster?
-
On 3/27/2020 at 9:30 AM, Vale said:
this must be in the Source Section but anyways, I am here to help
Find in the skill.cpp
//Special message when trying to use strip on FCP [Jobbie] if( sd && skill_id == ST_FULLSTRIP && tsc && tsc->data[SC_CP_WEAPON] && tsc->data[SC_CP_HELM] && tsc->data[SC_CP_ARMOR] && tsc->data[SC_CP_SHIELD]) { clif_gospel_info(sd, 0x28); break; }
Add this after:
if ( sd && tsc && sd->sc.data[SC_SPIRIT] && sd->sc.data[SC_SPIRIT]->val2 == SL_ROGUE && rand()%100 < 10 && ( skill_id == RG_STRIPWEAPON && tsc->data[SC_CP_WEAPON] || skill_id == RG_STRIPSHIELD && tsc->data[SC_CP_SHIELD] || skill_id == RG_STRIPARMOR && tsc->data[SC_CP_ARMOR] || skill_id == RG_STRIPHELM && tsc->data[SC_CP_HELM] ) ) { int item_id = 7139; // Glistening Coat int ii; ARR_FIND( 0, MAX_INVENTORY, ii, sd->inventory.u.items_inventory[ii].nameid == item_id ); if ( ii < MAX_INVENTORY ) { pc_delitem( sd, ii, 1, 0, 0, LOG_TYPE_CONSUME); switch ( skill_id ) { case RG_STRIPWEAPON: status_change_end( bl, SC_CP_WEAPON, INVALID_TIMER ); sc_start(NULL,bl,SC_STRIPWEAPON,100,skill_lv,skill_get_time(skill_id,skill_lv)); break; case RG_STRIPSHIELD: status_change_end( bl, SC_CP_SHIELD, INVALID_TIMER ); sc_start(NULL,bl,SC_STRIPSHIELD,100,skill_lv,skill_get_time(skill_id,skill_lv)); break; case RG_STRIPARMOR: status_change_end( bl, SC_CP_ARMOR, INVALID_TIMER ); sc_start(NULL,bl,SC_STRIPARMOR,100,skill_lv,skill_get_time(skill_id,skill_lv)); break; case RG_STRIPHELM: status_change_end( bl, SC_CP_HELM, INVALID_TIMER ); sc_start(NULL,bl,SC_STRIPHELM,100,skill_lv,skill_get_time(skill_id,skill_lv)); break; } clif_skill_nodamage( src, bl, skill_id, skill_lv, i ); break; } }
Let me know If I got this correct
there is a problem when compiling
uninitialized local variable 'i' used
c4700 line 7714
clif_skill_nodamage( src, bl, skill_id, skill_lv,i );
-
-
On 9/6/2013 at 12:16 AM, Patskie said:
I mean the whole content of the file
Try this :
if ( sd && tsc && sd->sc.data[SC_SPIRIT] && sd->sc.data[SC_SPIRIT]->val2 == SL_ROGUE && rand()%100 < 15 && ( skillid == RG_STRIPWEAPON && tsc->data[SC_CP_WEAPON] || skillid == RG_STRIPSHIELD && tsc->data[SC_CP_SHIELD] || skillid == RG_STRIPARMOR && tsc->data[SC_CP_ARMOR] || skillid == RG_STRIPHELM && tsc->data[SC_CP_HELM] ) ) { int item_id = 7139; // Glistening Coat int ii; ARR_FIND( 0, MAX_INVENTORY, ii, sd->status.inventory[ii].nameid == item_id ); if ( ii < MAX_INVENTORY ) { pc_delitem( sd, ii, 1, 0, 0, LOG_TYPE_CONSUME); switch ( skillid ) { case RG_STRIPWEAPON: status_change_end( bl, SC_CP_WEAPON, INVALID_TIMER ); sc_start( bl, SC_STRIPWEAPON, 100, skilllv, d ); break; case RG_STRIPSHIELD: status_change_end( bl, SC_CP_SHIELD, INVALID_TIMER ); sc_start( bl, SC_STRIPSHIELD, 100, skilllv, d ); break; case RG_STRIPARMOR: status_change_end( bl, SC_CP_ARMOR, INVALID_TIMER ); sc_start( bl, SC_STRIPARMOR, 100, skilllv, d ); break; case RG_STRIPHELM: status_change_end( bl, SC_CP_HELM, INVALID_TIMER ); sc_start( bl, SC_STRIPHELM, 100, skilllv, d ); break; } clif_skill_nodamage( src, bl, skillid, skilllv, i ); break; } }
sir @Patskie i hope you don't mind. . can u please tell me where i exactly put this script to make this work??
-
can someone will make a step by step if how to apply this single strip?
wheere ins src ?
skill.cpp?
battle.cpp?
status.cpp?
and where line to add??
thanks for the one who can make and i will put reputation on that
-
can any one help me to solve my problem. .
i have seen a lot of script in this forum about single strip fcp bypass consuming 1 glistening coat when the caster is soul link
but i dont know how to apply it. . all i can see is code but not tutorial how to apply it
please send some images step by step how to do that. . thank you in advance
-
28 minutes ago, Emistry said:
the error are pretty much self explained.
you didnt load the SQL table that provided.
sorry for being a noob. .i'm a newbie that is why i dont know how to do that. . if you don't mind can u please teach me how to do that one by one? thank you
-
Hello Rathena. .
i downloaded a script called rewardgiver by Sandbox. Credits to Sandbox
the purpose of that script is to have an npc for the staff to give specific item to the event winner .
the script works fine and good
but when i access the npc and test the script my map server show this debug
i read the instruction but i dont know where to put it and how. .
Please help mo to fix that error. . tia . . god bless all
-
3 hours ago, BeWan said:
.@map$ = strcharinfo(3); if ( getmapflag( .@map$,mf_pvp ) ) || getmapflag( .@map$,mf_gvg ) { dispbottom .@atcmd_command$+" failed in PVP/GVG maps"; end; }
uhhh works fine. . .thank you so much
-
Hello everyone!
ihave a script here . . but i want to disable command using this script if normal player are in pvp and gvg map, this script works fine but the matter is i need to type all map of all pvp map and gvg map. . can anyone help me to make this script read the whole pvp and gvg map using a few code instead of typing all the pvp and gvg map one by one. .
thanks in advace. . have a nice day . .Newbie here . . thank you
OnQuest:
setarray .Map$[0],"new_1-1","prtg_cas01";
if(strcharinfo(3) == .Map$[0] || strcharinfo(3) == .Map$[1]){
message strcharinfo(0),"This Command cannot be use in this Area!";
end;
}
warp "prt_in",284,129;
end; -
hello there. i'm newbie developing ragnarok. i am having fun doin it. . i want to ask you guys a favor. . please give me KOE script and dota announcer with pvp ladder. thanks in advance. god bless u guys :) regards
[Tulong]@go delay when hit
in Tulong para sa Script at Database
Posted
sakin din po may delay kapag gumagamit ng skill, baka po ma help nyo kami na gawing delay lang sya kapag na hihit ng player, hindi ng monster at hindi sa pag skill, salamat po ng madami