cozzy09
-
Posts
53 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by cozzy09
-
-
Hi,
I would like to ask if this can be made through a normal script where you can buy on a sop items window using a specified item? I've seen this in one of the server but unable to replicate it.
-
On 9/17/2021 at 10:05 PM, Shakto said:
sudo apt install g++-8
work great
shows as has no installation candidate as well. tried it with gcc-8 as well but also the same.
-
I would like to ask if I need an alternative gcc-5 to install, tried to follow the instruction but did encountered no installation candidate on step 4.
Quoteroot@Victory_RO:~# apt-get install -t unstable gcc-5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gcc-5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another sourceE: Package 'gcc-5' has no installation candidate
root@Victory_RO:~# -
I know that there are lots of make_listen_bind error but for this specific error I did not find any solution since we all have different kinds of error.
I'm getting the following error and now sure how to fix it. Can someone help me on this.
Thank you in advance for those who will help me.
-
ok thank you so much for enlightening me hahahaha
topic closed
-
yup but can't I just put 16 in there hahaha XD
-
ok ... just made a pinned topic
prontera,155,180,5 script test item reward#2 100,{ .@rand = rand( 1 + 5 + 10 ); // total 16 if ( .@rand < 1 ) { // 1/16 getitem 503, 1; getitem 504, 1; announce "Poring Catcher : We have a winner, "+ strcharinfo(0) +". - won a prize3",0; } else if ( .@rand < 1+5 ) { // 5/16 getitem 501, 1; announce "Poring Catcher : We have a winner, "+ strcharinfo(0) +". - won a prize2",0; } else { // the rest getitem 502, 1; // Cool FB Hat announce "Poring Catcher : We have a winner, "+ strcharinfo(0) +". - won a prize1",0; } end; }
I'm a little bit confused about your code XD
if will give me a 1/16 % chance of getting the item and the else only will give me all the remaining chances but what about the else if? is it 2% or a total of 6% chance of getting the item?
-
If you want to get only 1 item at once, use 'end;'
Otherwise, it will give you multiple items at once.
prontera,161,182,4 script test123 110,{ set .@prize, rand(1,100); if ( .@prize <= 1 ) { getitem 502, 1; // Cool FB Hat announce "Poring Catcher : We have a winner, "+.@name$+". - won a prize1",0; end; } if ( .@prize <= 5 ) { getitem 501, 1; announce "Poring Catcher : We have a winner, "+.@name$+". - won a prize2",0; end; } if ( .@prize <= 10 ) { getitem 503, 1; getitem 504, 1; announce "Poring Catcher : We have a winner, "+.@name$+". - won a prize3",0; } end; }
ok thanks alot
now the chance for item 1 = 1% then item 2 is 4% right? since its 2-5 only?
-
can anyone tell me what's wrong with this script? it says unknown syntax
gm_room,154,136,5 script Guild Master Changer 866,{ if(!getcharid(2)) // [b][color=#ff0000]ERROR LINE[/color][/b] { mes "[ ^336699Leo^000000 ]"; mes "Are you Kidding me?"; mes "You're not a member of any guild"; close; } if(getguildmaster(getcharid(2)) != strcharinfo(0)) { mes "[ ^336699Leo^000000 ]"; mes "You're not the Guild Master of your guild"; close; } if(agitcheck()) { mes "[ ^336699Leo^000000 ]"; mes "War is currently in progress"; close; } mes "[ ^336699Leo^000000 ]"; mes "OK Please Input the name of the character"; mes "The player mus be online!"; next; input @input$; set @success, guildchangegm(getcharid(2), @input$); if(!@success) { mes "[ ^336699Leo^000000 ]"; mes "Something's wrong, maybe the player doesn't exist."; close; } mes "Done!"; close; }
-
guys can you tell me if I have the right idea about this script
set $@prize, rand(1,100); if ( $@prize <= 5 ) { getitem ???, 1; announce "Poring Catcher : We have a winner, "+.@name$+". - won a prize1",0; } if ( $@prize <= 1 ) { getitem ???, 1; // Cool FB Hat announce "Poring Catcher : We have a winner, "+.@name$+". - won a prize2",0; } if ( $@prize <= 10 ) { getitem ???, 1; getitem ???, 1; announce "Poring Catcher : We have a winner, "+.@name$+". - won a prize3",0; }
does this make it that if the random rolls to 5 which is <=5 also <= 10 will I get both items? or just the <= 5 item only?
-
ok i'll try to make it grf as well to make sure XD
still not working even on grf files T_T can anyone teamviewer me someday so it can be fixed please
-
bump please help badly needed it
-
it should be data/lua files/datainfo
Hmm that's odd.
Are you packing the sprites into a GRF or reading from data folder? Ensure that your data folder in your RO folder has the latest lua files that you edited.
already put it there and the
"C:\Program Files\Miruku\data\lua files\datainfo\luac5.0.2.exe" -o "accname..lub" "accname.lua"
"C:\Program Files\Miruku\data\lua files\datainfo\luac5.0.2.exe" -o "accessoryid.lub" "accessory.lua"
i didn't put it in GRF files just from the data folder
-
luafiles514 this only reads in 2012+ clients you should use lua files instead
I changed the folder name of luafiles514 to lua files but still item doesn't work
-
-
What client version are you using?
this is it right?
#ifndef PACKETVER
#define PACKETVER 20100730
//#define PACKETVER 20111116
#endif
the 2010-07-30
-
another bump badly need help
-
thanks alot
-
ohh ok thanks
-
where can I find that? sorry for being noob XD tried searching nothing appears
-
k here i teach u the easiest way,
after u download u will get that will as grf file rite?
thn put that grf file into kro folder.
next go to data.ini @ data confiiguration file.
set ur background grf as 1,
thats mean the first grf it will load is ur background, make sure ur client could load multi grf files
lol I already did that and that's what happened... It should only have this background
-
guys and girls can anyone help me I tried using http://rathena.sourceforge.net/tools/login_background/ but after I put it on my server this is what happens... on the attached file...
can someone help me how to remove the unwanted pictures there like the ragnarok online the copyright and the others please thanks in advance
-
the download link of that website's map is down T_T
-
wew some other admin of our server put some true, false in some commands... thanks alot problem solved
Shop Items Using Item
in Script Requests
Posted
yes sir that is the one, thank you both.