-
Content Count
848 -
Joined
-
Last visited
-
Days Won
34
Posts posted by bWolfie
-
-
Firstly, you would need to set the mapflag 'loadevent' for your map in question.
map_name mapflag loadevent
Next, you need to create a script to register the last player on that map using the 'OnPCLoadMapEvent' function.- script Last Player ID FAKE_NPC,{ OnPCLoadMapEvent: if (strcharinfo(3) == "map_name") { .@charid = getcharid(3,"" + strcharinfo(0) + ""); $last_char_name = " + rid2name(.@charid) + "; end; } else end; }
The above script asks the following:.@charid asks for the charid type 3, which is the Account ID.
$last_char_name, converts .@charid into a name using the command 'rid2name'.
Note: rid2name only displays the current online character of that account.
Next you need a script which you'll be able to easily access the above value.
For this post, we'll use an atcmd using 'bindatcmd'.
All in all, it turns out like this:
- script Last Player ID::last_player_id_001 FAKE_NPC,{ OnPCLoadMapEvent: if (strcharinfo(3) == "prontera") { .@charid = getcharid(3,"" + strcharinfo(0) + ""); $last_char_id = .@charid; end; } else end; OnCommand: .@own_id = getcharid(3,"" + strcharinfo(0) + ""); detachrid; attachrid($last_char_id); .@pleb_id = strcharinfo(0); detachrid; attachrid(.@own_id); message strcharinfo(0),"The last player to load map prontera was " + .@pleb_id + "."; end; OnInit: bindatcmd "charid","last_player_id_001::OnCommand",96; end; } prontera mapflag loadevent
With a level 96 GM or above, you can use the command '@charid' to view the last player who loaded prontera.Not sure if this is what you were after!
-
-
I hired RagnaGFX (now Paroxysm) to make a patcher skin, a login screen and login interface. The experience was great.
He has great customer skills and is very polite. It took a while to make, but he was very open to trying and creating your ideas.
I recommend hiring Paroxysm for your RO graphical needs!
-
Okay so, when you start your server via putty, you get access to all the things going on your servers.
But how do I re-access them without having to restart my server?
Thanks!
-
Hi,
I want to make a script to open command prompt (or Run -> Cmd in old windows) so players can check their ping.
→ Player types @ping
→ Client forces a cmd open and automatically runs the command 'ping mydomain.com'.
-
You need to use the setcell script command.
Imagine the square you drew as coordinates.
Bot left corner = coord1
Top left cnr = coord2
Bot right cnr = coord3
Top right cnr = coord4
OnInit: setcell "prontera",coord1,coord2,coord3,coord4,cell_nochat,1; end;
-
make sure you open all ports required to connect
-
If it's showing 'Unknown Item', that's an itemInfo.lub/lua problem, meaning you probably haven't matched its ID with that in your item_db.conf.
-
Go, Jman, go!
-
I think this is a client diff? In nemo's patcher you should be able to make it go above 32k...I think.
-
-
What do you need? I don't understand lol.
-
This is awesome, haha!
-
Using 2014-10-22 client, in the alt+a stats windows, accessory is spelled "accessary". Unsure if this affects other clients.
-
Maybe it is possible through an app like Discord. It already supports IRC relay (although its fucking confusing to setup).
-
You need to remove the "Upper: 2" bit.
Upper type 2 means only rebirth jobs can equip IRRC.
From: http://herc.ws/wiki/Custom_Items
Normal jobs: 0x01 (1)
Upper jobs: 0x02 (2)
Baby jobs: 0x04 (4)
Third jobs: 0x08 (8)
Upper Third jobs: 0x10 (16)
Baby Third jobs: 0x20 (32)
Under pre-re mode third classes are considered upper, making use of
the 8 and above masks is therefore not necessary unless in renewal
mode. When no value is specified, all classes (mask 0x3f) are able to
equip the item.
-
I'm interested in this myself. Following.
-
Actually this often happens to servers who have iptables or a firewall active. You need to enable them to listen to the ports listed in your conf files.
-
-
i try it already there is a bug it give me continuous item when i click the npc
It needs a close like I mentioned in my post edit.
Also, change all cases of BaseClass to BaseJob
-
yea we miss ind
-
Not sure how linking works, but hoping this is good enough: http://pastebin.com/uX9uigAu
//===== Hercules Script ====================================== //== Thirds Freebies ========================================= //===== By: ================================================== //== True Zeal =============================================== //===== Description: ========================================= //== Links for Zeny //============================================================ prontera,150,150,3 script Link 4 Zeny 4_F_ELEPHANT,{ // Set name of npc to that of it's NPC name (Link 4 Zeny) .@name$ = "[" + strcharinfo(1) + "]"; // Sets price in zeny .price = 100000; // Sets effect sprite .effect = 503; mes .@name$; mes "Would you like to be linked? Costs " + .price + "z.;"; next; switch(select("Yes:No")){ case 1: if (Zeny >= .price) { Zeny -= .price; skilleffect .effect,0; sc_start SC_SOULLINK,350000,5; close; } else { mes .@name$; mes "You don't have enough zeny!"; close; } break; case 2: close; break; } }
-
ima try this one later sir! thank you!
Sorry, another error.
Please change
mes "I see you are a " + Class + ",";
to
mes "I see you are a " + jobname(Class) + ",";
-
[Free Release] Chubby Chick
in Spriting & Palette Releases
Posted
wow so kewl luv it