Jump to content

【 Emistry © 2015 】E-Scripts Collection


Emistry

Recommended Posts


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   152
  • Joined:  02/21/12
  • Last Seen:  

try this:

- script sys_announce -1,{
end;

OnInit:
set .Time,1;  // Announce every x Minute.
setarray .News$[0], // Random Message to be Announced
 "If you have enjoy your stay here please don't forget to invite more friends ",
 "If you found bugs, exploits or you need assistance then you can drop by on our community forums(---------).",
 "Please also like our fanpage on Facebook - -----------------------",
 "If you have questions you can use @request to notify our Support GMs";

while( 1 ){
announce .News$[ rand( getarraysize( .News$ ) ) ],0;
sleep ( .Time * 60000 );
}
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  268
  • Reputation:   27
  • Joined:  12/06/11
  • Last Seen:  

@tron

Still the same error :D

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

@kaito

try load the default script without edit anything then check again its the same error still occur ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  268
  • Reputation:   27
  • Joined:  12/06/11
  • Last Seen:  

@Emistry

Yes. Still same error :D

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

other script doesnt have this problem ? :D

i also dunno why you get this problem now..

wait i get back my laptop then only i can try to duplicate your problem to solve..>.<

perhap it could be your svn problem or etc ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  268
  • Reputation:   27
  • Joined:  12/06/11
  • Last Seen:  

Well from my 3CeaM server your script doesn't have error..

IDK why it is having an error with my rAthena server.

I also doubt that maybe the problem is related to my SVN.

I'm using SVN Rev. 15788

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  41
  • Reputation:   0
  • Joined:  01/13/12
  • Last Seen:  

Found a bug in this NPC. I'm using a Proof of Donation to buy items at this NPC. So here's the demo how the bug works.

You can even see the time including the seconds to see that i there is no cheat behind it.

I put it in my website so that you could see.

http://eastro.ph/bug/

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

Found a bug in this NPC. I'm using a Proof of Donation to buy items at this NPC. So here's the demo how the bug works.

You can even see the time including the seconds to see that i there is no cheat behind it.

I put it in my website so that you could see.

http://eastro.ph/bug/

thx for the detailed report...

i will try fix this once i get back my laptop >.<

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   0
  • Joined:  01/03/12
  • Last Seen:  

capture-20060110-084231.png

my baby woe script not work in server offline .. help me emistry fix that .. !!

Edited by sapu1
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

well..my topic only for solving those script i post in my topic ==''

if you are facing a problem with your own script...make a new topic at script support / request section...

and make sure you show your own script so that other know where is the problem located.....

base on your problem...should be misused of the command for strcharinfo

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   0
  • Joined:  01/03/12
  • Last Seen:  

zzzz

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  41
  • Reputation:   0
  • Joined:  01/13/12
  • Last Seen:  

Go emistry! /ok Hopefully the bug will be fixed. :(

Edited by sneakz
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  138
  • Reputation:   1
  • Joined:  12/27/11
  • Last Seen:  

i like this script Multi Currency Shop . thank you and hoping for more scripts to come

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

Go emistry! :P Hopefully the bug will be fixed. :P

erm.....some updated infor for you ^^

the bug i have fixed it...

will be release at the end of the month i think...

and it will come with new update ^^

i like this script Multi Currency Shop . thank you and hoping for more scripts to come

thx...but dont use it right now..as the current 1 hve bug...can be an exploit to your server...

wait for the updated 1...

and thx for supporting

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  41
  • Reputation:   0
  • Joined:  01/13/12
  • Last Seen:  

Cool! :D

I have a suggestion if you don't mind, its not a big deal but it would be much better if it got some validations like for example your are about to drag an item but you don't have enough CURRENCY, then the item won't be drag in the BUY, CANCEL portion.

Another thing if you didn't bought something, when you click buy, it won't close unless you click cancel, and also when you drag an item on BUY and you don't have enough currency then there will be no THE DEAL HAS BEEN SUCCESSFULLY COMPLETED. To avoid any bugs or exploits in the NPC.

Edited by sneakz
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  299
  • Reputation:   5
  • Joined:  04/05/12
  • Last Seen:  

@emistry

at your class restriction

how can i restrict all the job in town

like no can enter in this town of izlude

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  110
  • Reputation:   1
  • Joined:  04/03/12
  • Last Seen:  

sir emistry is there a way to turn your flower event into a 20rounds just like a disguise event it announce if the game is starting and becomes an hourly game also if correct answer give 1 poring coin!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  110
  • Reputation:   1
  • Joined:  04/03/12
  • Last Seen:  

hmmm! i am using emistry's multi currency shop i wonder what the bug is? ,,,,,,,,,,,,,,,,,,,,,,, what bug is in http://eastro.ph/bug/?

Edited by xmaniacx
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

@emistry

at your class restriction

how can i restrict all the job in town

like no can enter in this town of izlude

read here ?

http://rathena.org/board/topic/53320-%e2%99%a5-e-m-i-s-t-r-y-s-s-c-r-i-p-t-s-%e2%99%a5/page__view__findpost__p__78173

sir emistry is there a way to turn your flower event into a 20rounds just like a disguise event it announce if the game is starting and becomes an hourly game also if correct answer give 1 poring coin!

answered in your own topic at script request....anyway i will still update it here later on

hmmm! i am using emistry's multi currency shop i wonder what the bug is? ,,,,,,,,,,,,,,,,,,,,,,, what bug is in http://eastro.ph/bug/?

ppl open 2 time the shop...and buy the item from "previous" shop without paying any items....

anyway...i think i should be fixed this at the new version of this script

http://pastebin.com/raw.php?i=cSjf0eqU

erm..you guys can try this 1st...i havent update the info officially at this topic..

the setup manual is bascially the same...

the different is that the currency...

now you can use CashPoint / Zeny / CustomPoint..

just put your "Variable" name there....

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  931
  • Reputation:   13
  • Joined:  12/20/11
  • Last Seen:  

sir emistry when will the 2 new script be released?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  110
  • Reputation:   1
  • Joined:  04/03/12
  • Last Seen:  

...

Edited by xmaniacx
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

sir emistry when will the 2 new script be released?

what 2 new scripts ?

wow at the new currency you really are the king of script! anyway is there a possible way to make the currency restrict buying 2 items at the same time? because lets face it some people are stupid and would try to find a possible way to find a bug specially in donation so some would try buying multiple items at the same time if it would lead to something.... and i already accounted for that possibility so when i tried it this happens! ============ do you think this is okay to let it pass by? or this would lead to great damage later if abuse?

huh ? Infinity Loop ? how about show me what you edit or how you edit the script ? coz i didnt have the infinity loop problem ...let me try your edited script...

and...if buy a "Equipment" from the shop....they cant buy 2 or more at the same time for same equipment.

and about the lastest bug at the previous script ...( players open 2 shop and buy item without paying at 1st shop )

i think the lastest 1 i post at post#119 should be working fine..

although i cant reproduce the problem due to the test server svn problem...

but i can free walking around when i have opened the shop ....

so, at the newly updated 1...i think i this problem should be fixed already. player unable to move / open the shop again whenever the shop already opened.

and...for purchasing more than 2 items ( same ) i think it wont be a problem...payment that player required to made is still the same..

anyway..please do let me know if there is other bug you found

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  110
  • Reputation:   1
  • Joined:  04/03/12
  • Last Seen:  

mr emistry this is the script========================this was your multi currency version 4 i believe!===============================================the 3 main picture is the main problem with my currency shop.

Edited by xmaniacx
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

Yeehaaaa...!!!!... i was having a school short semester break right now.....xD

Previously,...my laptop was damaged....so not much stuffs has been done ...>.< anyway.....during my break time....i was still able to fix some script of mine...using my old test server... ( eAthena Beginner v4 ) LOL.....>.<

so here is the good news...xD


[ Update ] : Modified Multi Currency Shop Script :

Description :

It is a Simple Shop take use Item Currency to Buy items. It Support Multiple Shop in 1 NPC. This Script is based on the Idea of those other TCG / POD / etc Shop that users keep requesting.

The only different is, this Script only use 1 NPC + 1 Shop ( Invinsible ) NPC to settle all your Problems.

Of Course, that this script can fulfill certain User Request like ,

"Please help me create a Custom Dynamic Shop with Multiple Menu ."..

"How to create a Shop that Sell item using 'CustomPoints' ?"

You can add around ~128 Shop in this NPC. Add the Shop Selection at the Menu / New Cases for each of it.

but i think the limit for a Shop Window is just around 100 normally...

Simple Explaination :

A Script that allow setup several Shop that using Different Items as Currency to buy Items for the Corresponding Shop...

Possible Currency...

  • Item ID ( TCG , Proof Of Donation , etc... )
  • Variable ( Zeny , #CASHPOINTS , CustomPoints , etc... )


Script Configurations

you only need to edit this part...the rest....left it alone if you dont know what it does...

 switch( getarg(0) ){
 Case 1:
  // Currency [ Item ID / Variable Name ]
  set @Currency$,"7227";
  // Item ID Lists
  setarray @ItemLists[0],2301,2302,2303,2304,2305,2306;
  // Item Price
  setarray @ItemCost[0],1,2,3,4,5,6;
  break;
 Case 2:
  // Currency [ Item ID / Variable Name ]
  set @Currency$,"Zeny";
  // Item ID Lists
  setarray @ItemLists[0],2306,2302,2303,2304,2305,2301;
  // Item Price
  setarray @ItemCost[0],2,2,3,4,5,6;
  break;
 Case 3:
  // Currency [ Item ID / Variable Name ]
  set @Currency$,"#CASHPOINTS";
  // Item ID Lists
  setarray @ItemLists[0],2306,2302,2303,2304,2305,2301;
  // Item Price
  setarray @ItemCost[0],20,22,34,445,52,641;
  break;
 // Case 4,5,6.....etc...
 default:
  ErrorNotice( "Invalid Menu Selection for Menu "+@menu+"." );
  close;
}

the Item Listing and Pricing...as usual...do the same...just list down the itemID and price for each of them...

however....the new updated things in Version 5 - Currency Settings...

and i also added some error message for making debug problem easier whenever there is misconfiguration in the settings...

bug that listed before..should be able to fixed right now..

Possible Currency...

  • Item ID ( TCG , Proof Of Donation , etc... )
  • Variable ( Zeny , #CASHPOINTS , CustomPoints , etc... )

Example :

// Use Variable as Currency
set @Currency$,"Zeny"; - Use Zeny
set @Currency$,"#CASHPOINTS"; - Use CashPoints
set @Currency$,"#KAFRAPOINTS"; - Use KafraPoints

// Use Item as Currency
set @Currency$,"7539"; - Use Poring Coin
set @Currency$,"909"; - Use Jellopy
set @Currency$,"607"; - Use Yggdrasilberry

but no matter the currency is Number or Name of variable....you have to write it within the ( " " ) Quotation marks....


Multi Currency Shop [ Version 5 ]

Changelog :

  • [ Version 1 ] - Simple Shop Based Currency Shop.
  • [ Version 2 ] - Support Multiple Different Currency Shop in 1 NPC.
  • [ Version 3 ] - Fixed Repeating Items Lists Problem.
  • [ Version 4 ] - Fixed Items Purchasing Bug and Problems.
  • [ Version 5 ] - Fixed Bug , Updated with Various Variable as Currencies , Re-Organized Scripts

Scripts : View Download

Please let me know if there is any problems. As well as any Suggestion to Improve it.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

Is it BUG FREE now?

Thanks for this.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...