我是3G老区的.请问怎样刷声望啊
用百宝箱挂机刷!给你个脚本:
#define TIMER_SECS 30 //断线重连的判断时间,不要修改
#define SLEEP_SECS 2//对话等待时间,网速越慢和电脑性能越低的该值要越大。 用户需要依据自己的电脑环境选定一个合适的值。P4 2G和ADSL 1M以上的用户建议用2,PII 500和Modem 56K用户建议用5以上。
#define WORK_THREAD "WORK_THREAD"
#define WORK_TIMER "WORK_TIMER"
#define fight "fight"
int last_la...全部
用百宝箱挂机刷!给你个脚本:
#define TIMER_SECS 30 //断线重连的判断时间,不要修改
#define SLEEP_SECS 2//对话等待时间,网速越慢和电脑性能越低的该值要越大。
用户需要依据自己的电脑环境选定一个合适的值。P4 2G和ADSL 1M以上的用户建议用2,PII 500和Modem 56K用户建议用5以上。
#define WORK_THREAD "WORK_THREAD"
#define WORK_TIMER "WORK_TIMER"
#define fight "fight"
int last_last_respond = 0;
int step_num=18;
string timer_name = "";
int fight_flag = 1;
int go_on =1;
int me_do=0;
int IS_RESTART=0;
int sw_num=0;
void create_work();
///////////////////////////////////////
void timer()//定时检测在线状态
{
timer_name = ctime();
if(last_respond() == last_last_respond)
{
tell_user(timer_name +"失去服务器的响应,重新连接游戏\n");
restart_game(0);
}
if(!is_doing_quest() && get_thread_id(WORK_THREAD) == INVALID_TID && get_thread_id(fight) == INVALID_TID && get_timer_id (WORK_TIMER)==0 )
{
tell_user(timer_name +"线程停止,重新开始。
\n");
set_timer(4, WORK_TIMER, "create_work");
}
last_last_respond = last_respond();
set_timer(TIMER_SECS, timer_name, "timer");
}
//////////////////////////////
void eval_step_num()
{
int i=0;
if(is_doing_quest())
stop_quest();
while (is_doing_quest())
{
sleep(1);
}
go_on=0;
IS_RESTART=1;
say("@日志");
sleep(SLEEP_SECS);
i=0;
while(!talk_to("NPC","主任务") && i=5) restart_game(0);
sleep(SLEEP_SECS);
if (current_menu[1]["link"]=="确认公文的内容")
{
step_num=0;
}
else
{
i=0;
while(!talk_to("NPC",1)&&i=5) restart_game(0);
sleep(SLEEP_SECS);
step_num=atoi(trim(explode(explode(current_menu[1]["content"],"-")[1],"{")[0]));
}
IS_RESTART=0;
go_on=1;
}
///////////////////////////////
void escape_out(int i )
{
if(i==3 && me()["race"]==RACE_WIZARD)
{
cast(me(),"瞬息移动");
sleep(1);
}
if(i==3 && me()["race"]!=RACE_WIZARD)
{
if( get_item_amount("随机传送卷")>2)
{
apply ("随机传送卷");
sleep(1);
}
else if( get_item_amount("随机传送卷")3)
{
apply ("地牢逃脱卷");
sleep(1);
}
}
}
/////////////////////////////////////////////////////////////
void main_thread() //主体程序
{
int i=0;
int j=0;
while(!is_doing_quest() )
{
if(step_num==18) eval_step_num();
if(IS_RESTART==1)
{
IS_RESTART=0;
restart_game(0);
}
if ( step_num==0 ){
sleep(SLEEP_SECS);
tell_user("开始王大人任务刷声望主体程序,好好刷,每时每刻都要感谢道の小道。
;-)\n");
tell_user("开始确认公文内容\n");
go_on=0;
IS_RESTART=1;
say("@日志");
sleep(SLEEP_SECS);
i=0;
while(!talk_to("NPC","主任务")&&i=5) restart_game(0);
sleep(SLEEP_SECS);
i=0;
j=0;
while (!talk_to("NPC","确认公文的内容")&& j=5) restart_game(0);
j++;
sleep(SLEEP_SECS);
}
if(j>=8){
step_num=18;
restart_game(0);
}
IS_RESTART=0;
step_num=step_num+1;
sleep(SLEEP_SECS);
i=0;
while (!talk_to("NPC",1)&& i=5) restart_game(0);
sleep(SLEEP_SECS);
i=0;
while (!talk_to("王大人","对话") &&i=5) restart_game(0);
sleep(SLEEP_SECS);
i=0;
while (!talk_to("王大人","关于任务进行对话。
")&&i=5) restart_game(0);
sleep(SLEEP_SECS);
i=0;
current_menu[1]["action"] = "@"+explode(current_menu[1]["action"],"@")[1];
while (!talk_to("王大人", 1) &&i=5) restart_game(0);
i=0;
step_num=step_num+1;
sleep(SLEEP_SECS);
while (!talk_to("王大人","关 闭")&&i=5) restart_game(0);
i=0;
sleep(SLEEP_SECS);
while (!talk_to("『书店』_英勋","对话")&&i=5) restart_game(0);
i=0;
sleep(SLEEP_SECS);
while (!talk_to("『书店』_英勋","关于任务进行对话。
")&&i=5) restart_game(0);
i=0;
for(i=1;i=5) restart_game(0);
if(i==3) step_num=step_num+1;
}
}
//3-3带上三瓶烧酒,去找非凡警卫,又称休班卫士的宫飞孙,得到素材
if(step_num==3){
if (!goto_city_ex("比奇县",0,0,5))
{
goto_city_ex("比奇县",0,0,5);
}
go_on=1;
if(get_item_amount("烧酒")=5) restart_game(0);
i=0;
sleep(SLEEP_SECS);
while (!talk_to("『休班卫士』_宫飞孙","对话")&&i=5) restart_game(0);
i=0;
sleep(SLEEP_SECS);
while (!talk_to("『休班卫士』_宫飞孙","关于任务进行对话。
")&&i=5) restart_game(0);
i=0;
for(i=1;i=5) restart_game(0);
if(i==3) step_num=step_num+1;
}
}
//3-4告诉书店主人得到的素材
if(step_num==4){
if (!goto_city_ex("比奇县",0,0,5))
{
goto_city_ex("比奇县",0,0,5);
}
go_on=1;
while(!run_close_to(170,246,5))
{
run_close_to(170,246,5);
}
tell_user("开始对话『书店』_英勋,告诉书店主人得到的素材\n");
go_on=0;
sleep(SLEEP_SECS);
i=0;
while (!talk_to("『书店』_英勋")&&i=5) restart_game(0);
i=0;
sleep(SLEEP_。
收起