Dastgir
Script Developers-
Content Count
3805 -
Joined
-
Last visited
-
Days Won
250
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by Dastgir
-
We have no idea what's eAmod PvP System, so its unlikely that someone would help too soon..
-
Only if somehow client sends it.
-
That's what i am thinking , like stay at position you want npc, type some command, and choose npc name. house,0,0,5 script BED 422,{ query_sql(QUERY TO GET THE PLAYER ID WHO IS THE OWNER ,.@leader );if(.@leader!=getcharid(0)){message strcharinfo(0),"- I can't use this object.";end;} if(@H_BED==1){switch(select("- Leave Object")){case 1:set @H_BED,0; getmapxy(.@mapname$,.@mapx,.@mapy,0);query_sql( UPDATE NEW X AND Y FROM BED );}end;} switch(select("Move Object")){ case 1:break;} set @H_BED,1;npcspeed 10; do { getmapxy(.@mapname$,.@mapx,.@mapy,0); sleep2 100; getmapxy(.@mapname2$,.@map2x,.@map2y,0); if(.@mapx==.@map2x && .@map2y==.@mapy){ npcstop; }else{ npcwalkto .@mapx-1,.@mapy; } } while (@H_BED == 1 && .@mapname2$==.@mapname$); end;} end;} we have the system already ready, we are just discussing npc benefits.
-
So it's like, in game npc prompts you to go to web, web will give you code, and you enter it ingame? Definately, I would stop playing if that's happening, its frustating to open web browser and do several steps to just play.
-
That's what i am thinking , like stay at position you want npc, type some command, and choose npc name.
-
Something Extra:
-
@@Zell , English only..
-
Something like this ? : https://raw.githubusercontent.com/HerculesWS/Hercules/master/doc/sample/npc_trader_sample.txt /* custom npc trader */prontera,153,152,1 trader TestCustom2 4_F_EDEN_OFFICER,{ OnInit: tradertype(NST_CUSTOM); sellitem Red_Potion,2; end;/* allows currency to be item 501 and 502 */OnCountFunds: setcurrency(countitem(Red_Potion),countitem(Orange_Potion)); end;/* receives @price (total cost) and @points (the secondary input field for cash windows) */OnPayFunds: dispbottom "Hi: price="+@price+" and points="+@points; if( countitem(Orange_Potion) < @points || countitem(Red_Potion) < @price-@points ) end; delitem Orange_Potion,@points; delitem Red_Potion,@price-@points; purchaseok(); end;}
-
Great thing, I was too thinking of something like this, but I was too occupied with something else..
-
Card drops are on Drops: list We don't need custom Card field
-
Checked via my GRF, that model @@Litro told is no where in data.grf /rdata.grf so there's some probablity either mapper have made custom model, or used some other official server models, which kRO don't have.
-
I moved the server...Problem is time... The testing phase is remaining which should vanish off as many bugs (if there are any)
-
Welcome to Hercules
-
Ohh that file is not needed, I went through several iterations for this plugin, and forget to remove those include files.. About item charm, I will include it soon..
-
I guess there's a patch in NEMO called as Enable License Screen or something like that..
-
As I told, it won't work with old Hercules. that errors means you are having old hercules, new hercules have 1 extra argument in getcell. What I do is Properties->C/C++->General->Treat Warnings as Errors->FALSE Properties->C/C++->General->Warning Level->Level2
-
Invek doesn't exist, also maps are case sensitive so check exact map name. set .town,rand(11); setarray $@mapinvasion$[0],"invek"; But only 1 map is defined. Change the town to .town = 0;
-
It's status.c I believe(else skill.c/battle.c) one of these 3, that's complete, just find and add that one line
-
Not glitched.Each new version uploaded requires approval, once approved, they are available to users. Edit: Approved the Download
-
Git command for update your "branch" without lost your data mods
Dastgir replied to tmav94's question in General Server Support
git commit -am"commit message for your changes" git pull Merge conflicts by hand if any. In above case you have created new branch named myfolder. Git checkout master ^ will bring back to.master Branch -
another problem related making server-side
Dastgir replied to chryxt's question in General Server Support
Step 1: remove [] and change to your username and password as mentioned in map-server.conf and char-server.conf(be sure to don't have it as s1/p1) Step 3: VPS IP Step 5: THE IP can be either 127.0.0.1 or localhost, If your SQL is on same VPS. Error: try above steps and try to run again by commands ./configure make clean make all ./athena-start start Because currently it seems to go to some loop and trying to allocate infinite memory, which makes server fail. -
No, you need Hercules which is not old than 1 month.
-
Possibly, any Hercules which is not older than 1 month, since there was plugin change recently, and its according to that change.
-
mysql -u root -prootpassword hercules1234_rag < main. Wiki will be updated soon, seems someone edited just like that, without checking previous db name
-
Execute this service mysqld startYour MySQL seems to be down, above command will start it.