Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: Cambiar nombre de personaje  (Visto 6954 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline Cacikus Posteado: April 27, 2017, 11:25:25 PM | Modificado: May 07, 2017, 02:05:24 AM by Cacikus

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 475
  • Gracias recibida: 9999
  • ve
Bueno, ya que no esta en el foro y por alli vi que lo buscaban dejo el script de cambiar nombre de personaje por aca:



Sentencia con variables y con las tablas para MUEmu aportada por @darkjano
Spoiler for Hiden:
Verifica si el nombre existe:
Code: [Select]
 
use MuOnline
/*Verifica si el nuevo nombre existe*/
select Name from Character
where Name='nombreaqui'
Recuerda: Las tablas que están son para MUEMU


deben cambiar todos los NombreNUEVO por el nombre que pondran y el nombreViejo lo cambian por el nombre que tienen a la hora de cambiar.

Ejemplo, tengo mi Bk llamado CACIKUSBK y quiero llamarlo ahora BkCacikus. Reemplazare en todos los NombreNUEVO por BkCacikus y todos los nombreViejo por CACIKUSBK

El personaje NO debe tener guild, ya que se puede bugear. Obligatoriamente deben sacarlo del guild en caso de que tengan.

Gracias:

darkes607, Richard12, 8ball, bryanlch, apolo01, gunmanrb, SilentCry1996, eliarwis, Lunar, Juan-, lucas1993, neemo, networks1, FrancoB, tcheloft, gmotinhag, parasubirelpost, alexsaw, ssaul, Dvsein, Moran, mayiny, kaloryfer, ever741, Troyano92, UNDERGOD, MUPHOENIXADV, aries, trinidad191817, sworken, ruben2244233, rwul91, adminel, Chumes, star123, dace1206, dvarela, th3matu22, emaspc93, MuvnzPlus, 497625, Tulkas, brunex00, chester12, Lynntm, eraclio1, sairus, darkjack, dakosmu, Xiris215, famyus, slayersc, jknfkls, pedornela, lautarocos, nashooohxz, Viper, cflores93, jackboy, Rouge, Diiego265, latingaming, xxyan1xx, Zteban, Bross46, crssbahr, raynor, SURFRAiT, leandro3, mufury, xedux, arseniof1997, becasito, ronglovel, Miguel31, Pentium4, gertiones, agusavila0, xsasuke19x, gusva1, fantastyc, Phoenix666, blackmesa, JoHnNyZeN, alexpks, fefe, parpa, anita14, EscorpioLucas, Agus1999, isaiasito21, Zetita22, LGANG, BlaackZero, 2str0kE, BkxDarkxD, yan0153, MrGary2022, zhangjianle865, wolth2090, stewart99, manuss13, Matt1995, pkdomal, sonytfm, MrSoftware, kobe10, muzin, Ivansjpl, darkider, ivanxc, Absolutx7, mechaloco, cbv.erick, zergkeriga, jamiones24, MuThrones, jabloide, Dyzz, Zeuzito, DuskDemonS, iamzuika, leiker145, xxwillians, bobike24, yay2jz, myway, movesty, lczro, kaerusu, zairus90, lilbk, LuisCracks, cantante007, nicokpo, franchu123, Maggott, mardelmu, gaalces24, heroviet2301, pigo666, HazzdeN, Fakuzz, hades45, castle, punktano1, Belec, piscis007, moskorosi, monitor1, hpabloh123, ignice, SuperCris, carlos99, barto, lautitow, ligh.tl, Eternity, mutando, juanjor87, jasson21, emanuelbtz, D1r4gon, smock, bernardoO, jota7777777, admslaiffer, bayronking, villar, pinchareek, hecast, carmax, rikigandur, vamchy33, juampicdx, leonarding, zerolshen, cordoba, YakuzaRFF, xkartierx, muargentina, Extran, cristhian50, Zeus, daniel0101, mev_13, cluz123, Roo1637, rodgr9, xxyatsenxx, Nyquist, Dragonvl15, pablomorey, ossamenta, sebastian1245, siwars1, Orion88, migueel210, coloneado, Victor-CC-TSM, dynasty, darfan2, LORDDEMON, vantuan02hn, ruojing, solonavi123, escanorsama, vicente, PeruServiciosMu, frank144, peff, 4584582, pachu1, siebenpatricio, Jesusn204, Jester, bravo99, lesagu, robkaguerou, cobyzero, denny785, Luks22xmu, Yuntao, licanito, zekos, aszxitalo, patricia, rando, lDrakol, yhoon, gerard, mrunited, MichaelxD, iFox, matiasick1, Hura, DominicanO, straiker23, Gaboo;, matichile, carloskaka23, theanh27, bryan22, saske_el, Jhony, ariel6, gega, Ratablanca, axeman192, muinternational, o0karlos0o, jonathanmu, pablorgto, jonjoneze22, waltervg91, SERGGYO, EzeQ, carlos25, RODman, xdiegoxx10, luisrobles, tomi132, sdbgss, Camilomarquez61431, Jhosmmy, DemonLove, chime14, mukentarus, extremoo, joseanps, bran10, MsOrion, [GM]KING, dranse13, HighLevelTeam, scfmat, LiioCoria, karento02, pepeeh, 0333111, adrenalina, AlexanderMv, TheSilencer, jhorfre, FuturaSp, spk1000, vltmxhf, AntiChetO, Voltio, gabiriver, romerangel, spiazzi, load_01, pablosk4, lucaskpo, MaverickDan, jonan74, kartier25, Gizlayer20, mumadryn, VICUXXX, feedem2, hotspot, DarkBot, madrynmu, Censored, gabisito, Joitlag, elcosta, azerus, goodlck, maranzano, koloso28, luisangel, shadow0147, sooka, gonzazjk, ikenthis, marccusjohn, quique13, Kosh, ismael99, olape, Berserker, DIOSES, rayurik, kayito, PlopxD, maxijozami, AORUS, theexpo2, malaquias, MISTER1991, ezemix2020, Peluuca, alecito2008, lucasdr, briner2016, ManuLexus, cfmiguelf, Ryoma, cufa1, MrRabbit, Circuit, noelacl, FacundoN, gonzamu91, xavotaxo, hckt87, Byakko, jarteagaa, ivocba, Amphe, rastuza, hussepy, enriquexp, samuel9808, whmhosing, valecapo00, cbcfox, joselagos, Tulasss, vgzomega1, iSh4dow, malta, bhilou, Tony Armando, alexfy, Charly, iker1307, kalus91, oxey.mu, Mupsychi-97D, walkeny, sergio093, Daalmu, braianborz123, kemokemo21, Dariox84, aguto93, mkjklm123, josue0934, freemuhit, AmericaHost, elmaxis1, chilavert, ofignacio, AnarkiaMu, jhorky91, bedamusa, XTREME, Ariox, p3droslk, loco500, fer1992, Agres1v0, Shaman, duende592, Hanzo, felipe1, Percy, joackle, rogeralexander, pelotudazo, valusmu, TrystVenerious, nemesis28, tgservice147, mfp140593, juampivb, Broda, Unknowndeath, jimorrison, BeckerIbero, mashemdq, ZagenWTF, elixor, panapunker, lwlinares, CraftMU, alivejr, TheKing027, jorginhuz, igznoth, sergiiomcr, vlons0, xzebaa, bruno1198, Dukkha, survivor2019, joseall, Flash, majoca10, stan693, coto66, Guido, marcial, kheroz95, takumi12, dasgrid, MKLION, jeferson, alan022, mazingerbk, ShuT, marian500, VIERJAJR, ozzy09, malon2k, javiertyu, MaquiOmii, Nestorj97, nahusi, samuca, banneds6, XExeqXD, dabarrio, darkdemo, AgustinAlfi96, Dhanielt, RyukZ, aide224, mandrago, TEKEN, sacred, tehzeta, Benjaz, MIHARU, dedicadobk, ASTRAL, J0RG325, Fragata, Tony, jinfansub, Francot7, NasLy, Clipo, HOFFMAN, explorel7410, flozorron, WAKABAYSHI, davidrcj, warresistancex, PIXYS, unnamedsk1, mariwana23, bkduque, Darkwarmu, heas, altomayo12, zhux, ZeroMyr, gusspeed, 666nosfera, agastin10, gomnie, fuertesito, Mathi, bazan, oskar, mastermcy, juanse23, lokito5, DoPesho, orion, facud, SkullDs, Aleedequilmes, lostalejandro_, fbeltran2390, gruviasuncha, reonu, unish, segovia, MOYOne, MEC LEGEND, Yoh, facuquilmes, lucastosellolatini, FIREWALL, pancho, matiaslawwliet, Nawe, javier981, Kaotico, keikurono, mucryxus, pochoitg, felipe.anccori, Opresor, oks10, dinomat, AreS, BaTmaaN, dulex, Ashita111235, mustx1, SAYTU_2008, BlackWizard, Jean LR, kai1702, ghostx, eduardox, downloadlucio, takumi, olivera10, closed, lkt22, facoogle, LuciferXT, ALCONMU, FuegO, xdjoa, 5h1s0, monsterimport, z3r0x, Ishkur, zedge126, Kikecamera, paechalermphol, dreams, humito, dnmasterza, Tallz, sebasthyan97, Todd, hoizen, Rose, jesusmvz, darkslave83, Gabxd18, Ryuno, datcom, chikitoxd, chronosig, Nation Network, seedmaker, Nexus, Mu Resplandor, junior274, sauerlp, [Midgard], KING, umdertaker, ilubatar, hardpower, JokerZoe, melo920, iDani, darkjano, djagripnos, Samsung, perejil, RMendez, elitingo, bertilio, FORTACHON, Azzlaer, marianomarkoff, CristiaNN, RUBENCHO, ValkyriaMu, ZabiinoOo, haku, dasty

Offline CristiaNN #1 Posteado: April 28, 2017, 02:30:52 AM

  • Diseñador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 304
  • Gracias recibida: 5829
  • pe
Bueno, ya que no esta en el foro y por alli vi que lo buscaban dejo el script de cambiar nombre de personaje por aca:
 
deben cambiar todos los NombreNUEVO
por el nombre que pondran y el nombreViejo lo cambian por el nombre que tienen a la hora de cambiar.

Ejemplo, tengo mi Bk llamado CACIKUSBK y quiero llamarlo ahora BkCacikus. Reemplazare en todos los NombreNUEVO por BkCacikus y todos los nombreViejo por CACIKUSBK

El personaje NO debe tener guild, ya que se puede bugear. Obligatoriamente deben sacarlo del guild en caso de que tengan.

Buena guía, pero podría decirme como llegó hasta ahí . Te lo agradecería.

Gracias:


Online ZabiinoOo #2 Posteado: April 28, 2017, 12:15:21 PM

  • MAESTRO

  • US. DE HONOR

  • LEYENDA

  • Administrador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 7.270
  • Gracias recibida: 125182
  • pe
Click derecho a la base de datos MuOnline y new query y pegas todo el contenido que te ha dejado cacikus en el post




Prohibido pedir soporte via MP
Leer las reglas de cada seccion
we trust god

Gracias:


Offline bertilio #3 Posteado: May 01, 2017, 04:02:47 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 8
  • Gracias recibida: 1
  • am
si en esos updates pones taambien las tablas de guild y guildmember se tiene q actualisar tambien los user que tengan clanes


Offline Cacikus #4 Posteado: May 01, 2017, 04:16:53 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 475
  • Gracias recibida: 9999
  • ve
si en esos updates pones taambien las tablas de guild y guildmember se tiene q actualisar tambien los user que tengan clanes

Si tienes razón, pero los cambios en dichas tablas se actualizaran cuando se reinicie el servidor. Mientras no se haga los personajes aparecerán como si no pertenecen a ningún guild y tampoco se podrán unir a ninguno.


Offline darkjano #5 Posteado: May 07, 2017, 01:49:21 AM | Modificado: May 07, 2017, 01:51:00 AM by darkjano

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 1.042
  • Gracias recibida: 877
  • cl
Es mejor asignar variables, asi es mucho mas comodo, esta la hice para files muemu

Para verificar si el nombre ya existe

Code: [Select]
use MuOnline
/*Verifica si el nuevo nombre existe*/
select Name from Character
where Name='nombreaqui'

Para Cambiar Nombre:

Code: [Select]
use MuOnline
/*Declara las variables*/
declare @Original varchar(10)
declare @Nuevo varchar(10)

/*Asigna los datos de cada variable*/
set @Original='nombreaqui'
set @Nuevo='nombreaqui'

/*Agrega valores a las tablas*/
update AccountCharacter
set GameID1=@nuevo
where GameID1=@Original
update AccountCharacter
set GameID2=@nuevo
where GameID2=@Original
update AccountCharacter
set GameID3=@nuevo
where GameID3=@Original
update AccountCharacter
set GameID4=@nuevo
where GameID4=@Original
update AccountCharacter
set GameID5=@nuevo
where GameID5=@Original
update AccountCharacter
set GameIDC=@nuevo
where GameIDC=@Original
update Character
set Name=@Nuevo
where Name=@Original
update EventLeoTheHelper
set Name=@Nuevo
where Name=@Original
update EventSantaClaus
set Name=@Nuevo
where Name=@Original
update Gens_Reward
set Name=@Nuevo
where Name=@Original
update Guild
set G_Master=@Nuevo
where G_Master=@Original
update GuildMember
set Name=@Nuevo
where Name=@Original
update HelperData
set Name=@Nuevo
where Name=@Original
update MasterSkillTree
set Name=@Nuevo
where Name=@Original
update MUCore_Ban
set ban_name=@Nuevo
where ban_name=@Original
update OptionData
set Name=@Nuevo
where Name=@Original
update QuestKillCount
set Name=@Nuevo
where Name=@Original
update QuestWorld
set Name=@Nuevo
where Name=@Original
update RankingBloodCastle
set Name=@Nuevo
where Name=@Original
update RankingChaosCastle
set Name=@Nuevo
where Name=@Original
update RankingDevilSquare
set Name=@Nuevo
where Name=@Original
update RankingDuel
set Name=@Nuevo
where Name=@Original
update RankingIllusionTemple
set Name=@Nuevo
where Name=@Original
update T_CGuid
set Name=@Nuevo
where Name=@Original
update T_FriendList
set FriendName=@Nuevo
where FriendName=@Original
update T_FriendMail
set FriendName=@Nuevo
where FriendName=@Original
update T_FriendMain
set Name=@Nuevo
where Name=@Original
update T_WaitFriend
set FriendName=@Nuevo
where FriendName=@Original

Gracias:


Offline modaxd #6 Posteado: May 07, 2017, 01:54:45 AM

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 118
  • Gracias recibida: 1035
  • es
Usas el Source , disculpa pero que VS recomiendas para el Source ???


Offline Cacikus #7 Posteado: May 07, 2017, 02:00:26 AM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 475
  • Gracias recibida: 9999
  • ve
@darkjano si justo ya la había hecho con variables, solo que no la había subido xD

ahorita edito el post principal y pongo la tuya.

Usas el Source , disculpa pero que VS recomiendas para el Source ???

Esto no es un source, esto es un script para el SQL.


Offline mariwana23 #8 Posteado: February 17, 2019, 01:35:11 AM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 68
  • Gracias recibida: 8
  • ar
consulta se puede poner el nuevo nombre con simbolos ? ejemplo [)pepito(]


Offline Hanzo #9 Posteado: February 04, 2020, 10:44:41 AM

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 141
  • Gracias recibida: 20
  • ar
para cambiar el nombre con la querry de emu, debo cambiar donde dice decalre @Original varchar (10) tambien ? o eso no se toca ?

use MuOnline
/*Declara las variables*/
   declare @Original varchar(10)
   declare @Nuevo varchar(10)

La Practica Lleva A La Perfeccion!

Offline cantante007 #10 Posteado: November 09, 2022, 12:26:22 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 14
  • Gracias recibida: 2
  • pe
Solo se cambia o reemplaza los apartados de nombreaqui (nombre aqui original) el resto no se toca


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
5 Replies
2463 Views
Last post September 13, 2017, 04:58:24 PM
by Gabxd18
2 Replies
1392 Views
Last post June 30, 2019, 04:06:19 PM
by darkjano
14 Replies
2104 Views
Last post May 17, 2020, 08:54:47 PM
by Excelsior
4 Replies
1074 Views
Last post May 12, 2020, 12:37:01 PM
by TzCr4ck
3 Replies
518 Views
Last post January 29, 2021, 12:23:07 PM
by nelson