Jump to content

ToiletMaster

Members
  • Posts

    276
  • Joined

  • Last visited

Everything posted by ToiletMaster

  1. [Warning]: npc_scriptcont: failed npc_checknear test. Hi there, i'm getting this warning on my npc. It's not stated here so i'm not sure what the error is, http://rathena.org/w...clared_function This will appear once my character moves too far from the NPC though. since they do have 10 second gap before the next message coming in. Is there any way to solve this error? PS, Once the error comes out the script breaks, like putting a message without close. Thank you.
  2. Thanks for the information. However what i was trying to do was once the npc is disabled, then once the player leaves the map for another person to enter, the npc enables back. The player itself won't interact with that npc anymore once it's disabled. Because in one part of my script someone actually dies, so i need to disable him and once he leaves, it'll enable back by itself. Once he finishes up in there (about another 2-3 minutes) he'll be warped out of the map. That map can only have 1 person so why i'm thinking this is possible
  3. Hi there, Currently what i'm trying to do is enable a npc once the map users is 0. i've set to the last sentence of my npc to be disablenpc strnpcinfo(0); close; And on the top i'm placing this sm_pri,11,10,4 script Grandma 2339,{ if (getmapusers("sm_pri") == 0) { enablenpc strnpcinfo(0); } However once the map doesn't have any users left. it still remains disabled. i'm trying to make it once the map becomes 0 people it'll automatically enable the npc. What am i doing wrong here? (On a side note: Awesome map syouji ! thanks!)
  4. Hi i've solved my problem. do it manually using kyeme's method.
  5. Thanks this works! Compared to the sql files that i used, manually inserting this into the schema works. Already fixed thanks to kyeme, there was an error that came out on MYSQL 5.2 Workbench when i execute the upgrades from the SQL-Files Will put images of what it looks like let me reproduce the error first. On my log schema, SQL upgrade 17080 Time Action Message Duration / Fetch 1 1 16:32:05 CREATE TABLE IF NOT EXISTS `interreg` ( `varname` varchar(11) NOT NULL, `value` varchar(20) NOT NULL, PRIMARY KEY (`varname`) ) ENGINE=InnoDB 0 row(s) affected, 1 warning(s): 1050 Table 'interreg' already exists 0.000 sec 3 2 16:32:05 INSERT INTO `interreg` (`varname`, `value`) VALUES ('nsiuid', '0') 1 row(s) affected 0.047 sec 0 3 16:32:05 ALTER TABLE `auction` ADD `nsiuid` BIGINT NOT NULL DEFAULT '0' Error Code: 1146. Table 'logs.auction' doesn't exist 0.000 sec SQL Upgrade for 17086 hope it helps (brb will post an image, looks like copying the things din't look the way it wanted to lol Cant reproduce the original error that i had. It was ended with an X on the execution part for both 17080 and 17086. However the 17080 is stated above there. that was the exact error i had if i'm not mistaken. Lemme know if i can help in anyway in providing any other information thanks!
  6. doesn't work. i've already did that. Just to recall, highlighting my database, then open the 2 sql scripts and execute it right? I've done it already however the error remains when i throw an item out or picking an item up.
  7. Hi there guys, i'm getting this error at the moment. I've updated from Svn 17054. I've already applied the SQL Updates. What am i missing here?
  8. Thanks annie for putting it up! Hope it gets fixed soon! Solved at 17094
  9. The picture states it all hahaha but anyway let's not go off topic shall we? xD Thanks for the replies though
  10. Hi there rAthena people! Following back this topic, http://rathena.org/b...ased-on-timing/ credits to annieruru for the great assistance! I marked it solved as it solved the problem entirely. However, the problem came back again and this time. The npc is moving at all. I did some modifications and thought it was on my end. However, once i searched back my topic and took the code again. It still did not work. Is there anything i'm missing? Thank you! Here's the code from the topic. end; OnMon0000: OnWed0000: .unhide = 0; disablenpc strnpcinfo(0); end; OnSun1629: OnTue0000: enablenpc strnpcinfo(0); .unhide = 1; goto L_start; OnInit: if ( gettime(4) != 0 && gettime(4) != 2 ) { // add this... disablenpc strnpcinfo(0); end; } else .unhide = 1; L_start: .@interval = 2; .@step = 5; while ( .unhide ) { sleep .@interval * 1000; getmapxy .@map$, .@x, .@y, 1; while ( checkcell( .@map$, .@npc_x = .@x + rand( -.@step, .@step ), .@npc_y = .@y + rand( -.@step, .@step ), cell_chknopass ) ); npcwalkto .@npc_x, .@npc_y; npctalk callfunc( "F_RandMes", 2, "Heloo!!!", // 1 "Goodbye~!" // 2 ); } end; } (note: I only change the onSun1429 for testing issues only) (Another issue i found. The NPC will talk 2 times once it reaches the specific time.) Example: Every 1 second NPC will say Hello and Goodbye! Once it reaches OnSun1429, the NPC will say Hello and Goodbye 2 times and not moving still ._.) Thanks again for taking your time to read this! Bump for this topic thanks! Another bump for this topic! Can't seem to get it to work either way
  11. hahaha then i would need his permission to do so or else it'd be illegal wouldn't it?
  12. Hi there guys! I'm much of a bleach fan and currently i'm looking for zanpakuto sprite. possibly ichigo's shikai (second form) if possible. I did see a one topic that has them. it looks something that can be located at this thread. : http://rathena.org/board/topic/76277-adding-custom-item-problem/ Does anyone have the sprite by any chance? Thanks!
  13. Mine din't show any problem lol, only once i deleted and replaced the client
  14. We're cheering for you Ryu! Sorry if I cant donate (haven't started working yet so funds are bit scarce for me xD) But i'm sure everyone here would greatly support you in your need! Thank you for starting the project too!
  15. Working as intended! Thank you so much Mindstream! I've learned something new thanks to this xD.
  16. Nope nothing so far. Currently the only fix i manage to do was to delete the entire folder that was affected by the black spot and then replace them with a working folder. that fixes the problem for me so far
  17. just make sure your map is inside your grf then it'll work no problem. you can separate it like i did. mine is currently like this, 0= map.grf 1= server.grf 2= hello.grf 3= data.grf 4= rdata.grf or you can combine them if you wanna place them together if you wish xD. As long as your data.ini can find where's the file located. Make sure you follow the guide here though http://rathena.org/wiki/Custom_Maps if you follow step by step it shouldn't have any problems
  18. Hi there guys! I Seem to having yet another small issue that i'm facing at the moment. Currently i'm copying everything from 12722,Poison_Fever,Pyrexia,0,2,,100,,,,,0xFFFFFFFF,7,2,,,,,,{ if(rand(10000)<10) sc_start SC_PYREXIA,300000,0; },{},{} to another new item. 30000,Poison_Fever,Amnesia Bottle,0,2,,100,,,,,0xFFFFFFFF,7,2,,,,,,{},{},{} I actually would like to use back 12722's sprite picture and everything. I've added custom items to my server before but those were having all the files so i know what to do xD. however this is a bit challenging since I'm not sure what to do since i'm reusing the same sprite. I went back to rAthena custom items wiki but the guide there shows me to replace the entire item to my liking. But that's not that i require actually. I need to retain 12722 while having 30000 but having the same look, sprite. (Just the descriptions are different though since this is just a quest item. It doesn't need to have a drop sprite as well since i'm gonna disable dropping the item at all) I tried renaming everything to Poison_Fever but it seems that it cant find the sprite file. Any help would be appreciated! Thank you!
  19. You definitely did! Have a great day as well !
  20. sorry for the late reply, sure! It'll be Awesome! I'm definitely look for more choices! XD I plan to use as much maze maps as I can for my story xD
  21. Thanks for the tip! It helped! I don't see much purple lines compared to last time xD
  22. Hmmm Looks like writing storylines aren't that easy afterall xD. Gotta have good scripting + imagination to create the best storyline ever! XD

  23. i kinda edited the script abit cause of the huge mes so i think it's a bit messed up but my script is working nevertheless xD. Thanks for pointing it out though! Thank you so much Emistry for posting it up!
  24. yeah i did. it had like 5/6 npcs in my script. all of it is working except for this npc. tried reloadscript and double checked everything worked. so far there's nothing on my map server that indicates that's giving a problem. funny thing is it worked in svn 17006 (which i still have) and doesn't work with svn 17049.
×
×
  • Create New...