NPC Rebirth Help.

Cosforg

Dedicated Member
Dedicated Member
Apr 23, 2008
17
0
47
Well ppl, I try to put a NPC rebirth in my server. First, it works, but now no. First it works 100% well, but now when I relog, it disappear. I look for solutions, but anything work. Someone Can help me pls? The script that I use is this, but when I relog disappear the rebirth.

[@main]
#SAY
__________________Dellos Server Rebirth System____________\\
Bienvenido a Dellos Server\
Que puedo hacer por ti?\\
<Ver que necesito para hacer rebirth?/@options>\
<Conseguir Rebirth/@List>\
<Rebirth/@main1>\
<Otro/@otro>\

[@options]
#SAY
_________________________Rebirth Requirements________________\\
1 Rebirth - Level 100,\
2 Rebirth - Level 450,\
3 Rebirth - Level 750,\
4 Rebirth - Level 1000,\
5 Rebirth - Level 1500,\
6 Rebirth - Level 2000,\
7 Rebirth - Level 5000,\\

[@List]
#SAY
{FCOLOR/1}Rebirth Application{FCOLOR/12}\\
<Rebirth 1/@rein>\
<Rebirth 2/@rein2>\
<Rebirth 3/@rein3>\
<Rebirth 4/@rein4>\
<Rebirth 5/@rein5>\
<Rebirth 6/@rein6>\
<Rebirth 7/@rein7>\
<Rebirth 8/@rein8>\\
<[ Exit ]/@exit>\

[@rein]
#IF

!HLSCRIPTCMD CHECKRELEVEL 1
checklevel 100
#ACT
HLSCRIPTCMD REINCARNATION 1
HLSCRIPTCMD CLEAREXP
HLSCRIPTCMD SETPOINT - 250
SET [25] 1
#SAY
Ya tienes tu Rebirth\
<Return/@main>

#ELSESAY
No tienes lo que se necesita.\
<Return/@main>\

[@rein2]
#IF

!HLSCRIPTCMD CHECKRELEVEL 2
checklevel 450
#ACT
HLSCRIPTCMD REINCARNATION 2
HLSCRIPTCMD CLEAREXP
HLSCRIPTCMD SETPOINT - 300
#SAY
Ya tienes tu Rebirth\
<Return/@main>

#ELSESAY
No tienes lo que se necesita.\
<Return/@main>

[@rein3]
#IF

!HLSCRIPTCMD CHECKRELEVEL 3
checklevel 750
#ACT
HLSCRIPTCMD REINCARNATION 3
LSCRIPTCMD CLEAREXP
HLSCRIPTCMD SETPOINT - 500
#SAY
Ya tienes tu Rebirth\
<Return/@main>

#ELSESAY
No tienes lo que se necesita\
<Return/@main>

[@rein4]
#IF

!HLSCRIPTCMD CHECKRELEVEL 4
checklevel 1000
#ACT
HLSCRIPTCMD REINCARNATION 4
HLSCRIPTCMD CLEAREXP
HLSCRIPTCMD SETPOINT - 700
#SAY
Ya tienes tu Rebirth\
<Return/@main>

#ELSESAY
No tienes lo que se necesita\
<Return/@main>

[@rein5]
#IF

!HLSCRIPTCMD CHECKRELEVEL 5
checklevel 1500
#ACT
HLSCRIPTCMD REINCARNATION 5
HLSCRIPTCMD CLEAREXP
HLSCRIPTCMD SETPOINT - 900
#SAY
Ya tienes tu Rebirth\
<Return/@main>

#ELSESAY
No tienes lo que se necesita\
enough Integral.\
<Return/@main>

[@rein6]
#IF
!HLSCRIPTCMD CHECKRELEVEL 6
checklevel 2000
#ACT
HLSCRIPTCMD REINCARNATION 6
HLSCRIPTCMD CLEAREXP
HLSCRIPTCMD SETPOINT - 500
#SAY
Ya tienes tu Rebirth\
You at present the integral is:{FCOLOR/10}<$HLPOINT>{FCOLOR/12} Points.\
<Return/@main>

#ELSESAY
Your rank insufficient 100 levels, or you already via one secondary, or your integral are insufficient, but also remains {FCOLOR/10}<$HLPOINT>{FCOLOR/12} Points. Please relates the GM direct purchase integral.\
<Return/@main>

[@rein7]
#IF
!HLSCRIPTCMD CHECKRELEVEL 7
checklevel 5000
#ACT
HLSCRIPTCMD REINCARNATION 7
HLSCRIPTCMD CLEAREXP
HLSCRIPTCMD SETPOINT - 500
#SAY
Ya tienes tu Rebirth\
You at present the integral is:{FCOLOR/10}<$HLPOINT>{FCOLOR/12} Points.\
<Return/@main>

#ELSESAY
Your rank insufficient 100 levels, or you already via one secondary, or your integral are insufficient, but also remains {FCOLOR/10}<$HLPOINT>{FCOLOR/12} Points. Please relates the GM direct purchase integral.\
<Return/@main>

[@rein8]
#IF
!HLSCRIPTCMD CHECKRELEVEL 8
checklevel 100
#ACT
HLSCRIPTCMD REINCARNATION 8
HLSCRIPTCMD CHANGELEVEL - 20
HLSCRIPTCMD CLEAREXP
HLSCRIPTCMD SETPOINT - 500
#SAY
Ya tienes tu Rebirth\
You at present the integral is:{FCOLOR/10}<$HLPOINT>{FCOLOR/12} Points.\
<Return/@main>

#ELSESAY
Your rank insufficient 100 levels, or you already via one secondary, or your integral are insufficient, but also remains {FCOLOR/10}<$HLPOINT>{FCOLOR/12} Points. Please relates the GM direct purchase integral.\
<Return/@main>



Sorry for my english.
 

Far

tsniffer
Staff member
Developer
May 19, 2003
20,235
30
2,824
540
i think rebirth is abit dodgy. wen i rebirth, i dont always have a name colour change, and a title. but wen i relog it will be there.

nothing to do with your npc, i think its just the server files which are buggy.
 
Upvote 0

jonathan508

Golden Oldie
Golden Oldie
Dec 27, 2007
623
11
125
Europe
English
This is me exactly problem when i relog rebirht disspare,
change the db crueldragon3g and test this.



---------------------------------------------------------------
Spanish
Ami me pasa igual que ati intenta cambiar la db crueldragon3g por la de lsserver y prueva ami no me va pero a mucha gente haciendo eso se le soluciona
 
Upvote 0

Far

tsniffer
Staff member
Developer
May 19, 2003
20,235
30
2,824
540
heres what i use. obviously change the variables if u wanna use it properly in your server.

[@main]
#IF
#ACT
#SAY
Welcome to the Famepoint rebirth system.\
Currently we offer 8 rebirths to our members.\
Attaining all of them is not an easy task.\
Currently you have <$OUTPUT(D4)> FP's\
<Rebirth/@rebirthmenu>\

[@rebirthmenu]
#SAY
< Level 1 - 100 FP - Lvl100 - 60million gold/@rebirthauto(1,0,1,60)>\
< Level 2 - 200 FP - Lvl200 - 80million gold/@rebirthauto(2,0,2,80)>\
< Level 3 - 250 FP - Lvl300 - 100million gold/@rebirthauto(3,0,3,10)>\
< Level 4 - 300 FP - Lvl400 - 120million gold/@rebirthauto(4,0,4,120)>\
< Level 5 - 450 FP - Lvl500 - 150million gold/@rebirthauto(5,0,5,150)>\
< Level 6 - 550 FP - Lvl850 - 200million gold/@rebirthauto(6,0,6,200)>\
< Level 7 - 650 FP - Lvl1050 - 500million gold/@rebirthauto(7,0,7,500)>\
< Level 8 - 900 FP - Lvl1200 - 1Billion gold/@rebirthauto(8,0,8,100)>

[@rebirthauto()]
#ACT
Mov D5 %ARG(1)
Mov D6 %ARG(2)
Mov D0 %ARG(3)
Mov D8 %ARG(4)

goto @dorebirth

[@dorebirth]
#IF
ELARGE D4 %D6
checkgold %D8
checklevel %D0
!HLSCRIPTCMD CHECKRELEVEL %D5
#ACT
DEC D4 %D6
take gold %D8
HLSCRIPTCMD REINCARNATION
HLSCRIPTCMD CLEAREXP
#SAY
You got <$HLREINCARNATION> rebirth now.\
#ELSESAY
You are short on something to gain this Rebirth.\
<[ Exit ]/@exit>\\\

this isnt mine, was released in the npc section.

but like i said, its nothing to do with the npc scripts. the whole feature just doesnt work properly.
 
Upvote 0

Cosforg

Dedicated Member
Dedicated Member
Apr 23, 2008
17
0
47
English
This is me exactly problem when i relog rebirht disspare,
change the db crueldragon3g and test this.



---------------------------------------------------------------
Spanish
Ami me pasa igual que ati intenta cambiar la db crueldragon3g por la de lsserver y prueva ami no me va pero a mucha gente haciendo eso se le soluciona

I don't understand, change de db crueldragon? how? explain more pls.

------------------------------------------------------------------

No lo entiendo, cambiar la crueldragon db? como? explica algo mas porfa.
 
Upvote 0

Far

tsniffer
Staff member
Developer
May 19, 2003
20,235
30
2,824
540
why would the crueldragondb have any effect on the rebirth system? crueldb holds only items and mobs. cant see how that wld affect the rebirth system.
 
Upvote 0

jonathan508

Golden Oldie
Golden Oldie
Dec 27, 2007
623
11
125
Europe
English
You need change the crueldragon3gbasedata for db from mf.kaorimir.com in section lsserver.
And change the hero3g from working 3.55.

Spanish
----------------------------------------------------------------------------
Ves a mf.kaorimir.com y en el apartado el lsserver te bajas ls3g chinesse y cambias la db crueldragon3gbasedata por esa de lsserver.
Luego restauras el hero3g pero el de la working (ahi se quedan guardados los datos de los chars por eso te digo de restaurarla para que este nueva).
 
Upvote 0

Cosforg

Dedicated Member
Dedicated Member
Apr 23, 2008
17
0
47
well, i will try it, but my crueldragon3gbasedata is from ls3g chinesse yet. i have the 3.55, but what i do is, i make the v3.38 and later i copy the crueldragon3g, armadillopatch,netchek,loader3g and these files,and in the sql the db are from ls3g chinese.

------------------------------------------------------------------------------------

bien, lo probare, pero mi crueldragon3gbasedata ya es de ls3g chinese, no de la 3.55 working. yo tengo mi server con la 3.55 pero lo que he hecho es,, he montado la version 3.38 y despues he copiado la crueldragon3g, armadillopatch, netchek, loader3g, y esas files de la 3.55, y en la sql las bases de datos son de la 3.38.
 
Upvote 0

Cosforg

Dedicated Member
Dedicated Member
Apr 23, 2008
17
0
47
it's a little strange, but i look and my server is on C:\Mud3\Mud3\, and databases on C:\Mud3\Mud3\DateBase\, but the databases account, crueldragon3gbasedata, hero3g and game3g in SQL are restored from C:\Mud3_\Client and Database\Databases\, and conlog and manage are restored from C:\Mud3\Mud3\DateBase\, and i don't know why :S, this is maybe the problem?

----------------------------------------------------------------------------------

es un poco extraño, pero he estado mirando y mi server está en C:\Mud3\Mud3\ y las bases de datos en C:\Mud3\Mud3\DateBase\, pero las bases de datos account, crueldragon3gbasedata, game3g y hero3g en el SQL están restauradas en la carpeta C:\Mud3_\Client and Database\Databases\, y conlog y manage están restauradas en C:\Mud3\Mud3\DateBase\,y no se porqué :S, es quizás este el problema?
 
Upvote 0

Cosforg

Dedicated Member
Dedicated Member
Apr 23, 2008
17
0
47
ok, until the moment I create a script in UserLogin.txt. This is:

#IF
CheckNameList Rebirth1.txt
#ACT
HLSCRIPTCMD REINCARNATION
goto @rein2

[@rein2]
#IF
CheckNameList Rebirth2.txt
#ACT
RESTRENEWLEVEL 0
goto @rein2a

[@rein2a]
#IF
#ACT
HLSCRIPTCMD REINCARNATION 2
goto @rein3

[@rein3]
#IF
CheckNameList Rebirth3.txt
#ACT
RESTRENEWLEVEL 0
goto @rein3a

[@rein3a]
#IF
#ACT
HLSCRIPTCMD REINCARNATION 3

etc,,

and in the NPC, I put:

[@rein]
#IF

!HLSCRIPTCMD CHECKRELEVEL 1
checklevel 100
#ACT
HLSCRIPTCMD REINCARNATION 1
HLSCRIPTCMD CLEAREXP
HLSCRIPTCMD SETPOINT - 250
AddNameList Rebirth1.txt
#SAY
Ya tienes tu Rebirth\
<Return/@main>

etc,,

and I create in Market_Def the files: Rebirth1, Rebirth2, Rebirth3, Rebirth4, Rebirth5, Rebirth6, Rebirth7, Rebirth8.

This is working correctly I think, but the name don't change color in blue, purple, etc. If someone have some idea say pls.

Sorry for my english
 
Upvote 0