Jump to content

  •  

stiflerxx

Member Since 18 Jan 2014
Offline Last Active Mar 18 2017 02:59 PM
***--

Topics I've Started

Erro to update.... script npc

25 September 2016 - 02:33 PM

not getting to see where I went wrong ... the emulator is giving these two error:
 

erro 1:
[SQL]: Erro de banco de dados - Out of range value for column 'timer' at row 1
[Depurar]: em c:\users\usuario\desktop\trabalhos ragnarok\ragna-field\emulador\s
rc\map\script.c:15905 - UPDATE `houses` SET `timer`=`timer`-'1'
erro 2:
[Depurar]: Source (NPC): #controller_house (invisible/not on a map)
 
script:
 

- script #controller_house -1,{

OnInit:
bindatcmd "house", strnpcinfo(0)+"::OnHouseInfo";
initnpctimer;
end;
 
OnTimer60000:
query_sql "UPDATE `houses` SET `timer`=`timer`-'1'";
query_sql "SELECT `auto_id`, `name`, `mapname` FROM `houses` WHERE `timer`<='0' AND `status`='1'", .@auto_id, .@name$, .@mapname$;
for( set .@i, 0; .@i < getarraysize(.@auto_id); set .@i, .@i + 1 )
{
query_sql "UPDATE `houses` SET `status`='0', `master_id`='0', `timer`='0', `invitation`='0' WHERE `auto_id`='" + .@auto_id[.@i] + "'";
query_sql "DELETE FROM `houses_members` WHERE `house_id`='" + .@auto_id[.@i] + "'";
 
announce "A " + .@name$[.@i] + " foi desoculpada.",bc_all,"0x00FF00";
mapwarp .@mapname$[.@i], "prontera", 156, 191;
}
setnpctimer 0;
end;
}

 

thank you = D
 

it is possible to make a noskill cell?

03 March 2016 - 01:22 AM

speaks guys wanted to know if someone helps me make a cell_noskill .... to disable skills in some areas .... map it is possible to know who has novending and nochat ....


Free Skill Area in PVP on the Emulator

02 March 2016 - 10:56 AM

Good morning and late night crowd the /
 
 I added a little time, a cell in the new pvp emulator brAthena
 the area in question is in prontera but to avoid spam skill as snow and etc ... I block some skill in prontera as the same and the main city .... however the same skills were blocked TBM in pvp area my doubts and how do I ignore the map_zone and release the skills if you are in pvp area?

Erro PvP cell help?

31 January 2016 - 03:10 PM

hi I'm in error to add the PVP CELL diff time to compile the emulator follows the errors below:

Thansk