custom statue NPC

AnnieRuru

~~Cute~Cute~Scripter~~
Messages
1,677
Points
0
Location
your next door ~
Discord
AnnieRuru#1609
Github
AnnieRuru
Emulator
Client Version
2019-05-30aRagexeRE
ok so I have been annoyed by some people claiming that statue doesn't work

so I tackle this topic instead -> https://rathena.org/board/topic/125602-statue-npc-not-pvp-rankings/

let GM do whatever they want with this npc,

let it disguise as a player to reward them as a champion in an event, or just to shame a player for doing wrong things

whatever

Download: 1.4

script

Remember the color code

screen2020Hercules003.jpg


remember Navigation link and Item Link

screen2020Hercules005.jpg


0.1 - script

- proof of concept

0.2 - script

- expanding ideas

1.0 - script

- initial release

1.1 - script

- make the statue data survive a server restart

1.2 - script

- fix a bug that server throw rid2name not found error

- add more name limitation such as npc name can't have # symbol

- allow to add more than one statue

- allow to search for offline player

1.3 - script

- fix if the server has custom animation sprite, reset the view sprite back to 0

- allow to disguise as another NPC

- add log to know which GM setup this statue/NPC

- add friendly reminder tricks for how to setup the text message

1.4 - script

- fix a bug when there is no text line and insert an empty space, causes Complete Setup doesn't work


use Notepad++ regular expression replace

find

Code:
- `(\w+)`: (\d+)
replace with
 

Code:
.npcsprite$[\1] = "\1";

 
Last edited by a moderator:
Hi Maam Annie! I'm trying this wonderful script right now and I'm receiving this error:

image.png

Is this normal? The poring changes to a players sprite but whenever I talk to the NPC, it gives me that error notif.

 
this will be really really useful, specially to make players feel more rewarded by an event! thanks annie

hope it can support offline players soon 😁

btw wouldn't it make more sense to have this as a function instead of an npc? (just a thought 😜)

 
Hi Maam Annie! I'm trying this wonderful script right now and I'm receiving this error:

View attachment 6429

Is this normal? The poring changes to a players sprite but whenever I talk to the NPC, it gives me that error notif.
HAHAHA !! my reputation is spoiled now !!

damn, I didn't make this mistake in a very long time

hope it can support offline players soon 😁😜
just rip from `char` table ?

fine ...

btw wouldn't it make more sense to have this as a function instead of an npc? (just a thought 😜) 
I used OnInit to persist the data so it survive server restart (or `@reloadscript`)

using function means ... needs to have at least 3, better do this as duplicate npc

1.2 - script

- fix a bug that server throw rid2name not found error

- add more name limitation such as npc name can't have # symbol

- allow to add more than one statue

- allow to search for offline player

 
1.3 - script

- fix if the server has custom animation sprite, reset the view sprite back to 0

- allow to disguise as another NPC

- add log to know which GM setup this statue/NPC

- add friendly reminder tricks for how to setup the text message

screen2020Hercules005.jpg


 
1.4a - script

- fix a bug when there is no text line and insert an empty space, causes Complete Setup doesn't work

- fix a missing sprite change from LOOK_ROBE

 
Back
Top