-
Posts
117 -
Joined
-
Last visited
-
Days Won
1
Community Answers
-
Docubo's post in Which is the best latest client ? was marked as the answer
2012-04-10 just works fine for me.
shortcuts not saving is probably an lua issue
http://supportmii.com/ro1/Clients/Judas_Setups/RecommendSetup/
there is also a setup.exe somewhere.
-
Docubo's post in Walkable Warp was marked as the answer
prontera,147,157,5<tab>script<tab>Warp Portal::Warp001<tab>45,1,1,{ OnTouch: warp "map",x-coordinate,y-coordinate; announce strcharinfo(0)+" has entered <whatever map>",0; end; }
-
Docubo's post in About dual windows was marked as the answer
- script Only2perIP -1,{ OnPCLoginEvent: if(getgmlevel()>=99){ end; } else { set .@name$, strcharinfo(0); if (query_sql("SELECT login.account_id FROM login LEFT JOIN `char` ON login.account_id=`char`.account_id WHERE login.last_ip=(SELECT last_ip FROM login WHERE account_id="+getcharid(3)+") AND `char`.online=1", .@account_id) > 2) { announce "Sorry, only 2 accounts per IP are allowed!", bc_self; sleep 1000; atcommand "@kick " + .@name$; } end; } }
-
Docubo's post in npc request was marked as the answer
goto this line:
for(set @i,0; @i < getarraysize(@bought_nameid); set @i,@i+1) { getitem @bought_nameid[@i],@bought_quantity[@i];
add below:
announce "["+strcharinfo(0)+"] has purchase a ["+ getitemname(@bought_nameid) +"] from the Donation NPC!", 0;
should look like this:
for(set @i,0; @i < getarraysize(@bought_nameid); set @i,@i+1) { getitem @bought_nameid[@i],@bought_quantity[@i]; announce "["+strcharinfo(0)+"] has purchase a ["+ getitemname(@bought_nameid) +"] from the Donation NPC!", 0; }
-
Docubo's post in @request Kick Player Dual Window was marked as the answer
- script Only1perIP -1,{ OnPCLoginEvent: set .@name$, strcharinfo(0); if (query_sql("SELECT login.account_id FROM login LEFT JOIN `char` ON login.account_id=`char`.account_id WHERE login.last_ip=(SELECT last_ip FROM login WHERE account_id="+getcharid(3)+") AND `char`.online=1", .@account_id) > 1) { announce "Sorry, only 1 account per IP is allowed!", bc_self; sleep 1000; atcommand "@kick " + .@name$; } end; }
you can change:
this line if you wanna allow more then 1.