Sites Grátis no Comunidades.net Criar um Site Grátis Fantástico

Criando-Mu-Online


.

Total de visitas: 5461
Tutorias 2

Colocando BONUS para players começarem!

Antes de tudo: REALIZE UM BACKUP DE SEU BANCO DE DADOS. Independente da ação simples desta trigger, não custa nada realizar um backup do banco de dados, antes de testar qualquer coisa.

Qual a função desta trigger:
Ao se criar novos personagens em jogo, oferecer-lhes algum tipo de bonus. Neste script atual, estão disponiveis quantidade de resets, pontos iniciais, e zen.

Requisito Básico:
Coluna "Resets" criada na tabela "Character" do banco de dados, o que normalmente já é um padrão utilizado pelo pessoal, para armazenar os resets de um personagem.

Como pré-configurar:
Você pode definir os resets iniciais, pontos de distribuição iniciais e dinheiro inicial no local em destaque do script. NÃO INSIRA valores negativos, e para não utilizar um dos atributos, basta manter o valor "0". E NÃO INSIRA mais de 2kkk em Dinheiro, para não bugar o personagem.

Como instalar o trigger:
Basta rodar o script abaixo uma única vez no query analyzer e pronto.

USE MuOnline
IF EXISTS (SELECT name FROM sysobjects
WHERE name = 'MUC_BONUS' AND type = 'TR')
DROP TRIGGER MUC_BONUS
GO

CREATE TRIGGER MUC_BONUS ON Dbo.Character FOR INSERT
AS
BEGIN

-- Bonus para Novos Chars -- Por Alex do Muciados
DECLARE
@Resets INT,
@Pontos INT,
@Dinheiro INT,
@Char varchar(10)
SELECT @Char = Name FROM INSERTED

SET @Resets = 10 -- INSERIR QUANTIDADE DE RESETS
SET @Pontos = 3500 -- INSERIR QUANTIDADE DE PONTOS INICIAIS
SET @Dinheiro = 1000000 -- INSERIR QUANTIDADE DE DINHEIRO

UPDATE Dbo.Character
SET Resets = @Resets, LevelUpPoint = @Pontos, Money = @Dinheiro
WHERE Name = @Char
END

Como remover o trigger:
Basta rodar o script abaixo uma única vez no query analyzer e estará removida.

USE MuOnline
IF EXISTS (SELECT name FROM sysobjects
WHERE name = 'MUC_BONUS' AND type = 'TR')
DROP TRIGGER MUC_BONUS
GO

 

 

Comandos de GM 1.04

Para Criar GM:

1.Vai em Microsoft SQL Server
2.Query analyzer
3.Abra a pasta MuOnline
4.User Tables localize "Character" aperte com botao direito
5.Depois Open
6.Procure por o nome do seu char
7.Depois vai la no final em CtlCode e no lugar de 0 Coloque 8 ( para GM ) e 24 ( para ADM ).

COMANDOS DE GM e ADM

QUOTE
/gmove <nick> map x y Mover Jogador para lugar especifico pelas coordenadas x e y
/chaton <nick> Disponibilizar chat do player
/chatoff <nick> Ao contrario do d cima
/trace <nick> Mover-se para o lado do jogador
/track <nick>
/disconnect <nick> Disconectar
/dc <nick>
/pk <nick> Pklizar Jogador
/pkclear <nick> Limpar pk do Jogador
/fire Mostrar Efeito do FireCracker (Fogos de artificio)
/reload 0 = Options
1 = Monster.txt & Monstersetbase.txt
2 = Shops
3 = Events
4 = Misc. options & MY NEW commonserver.cfg options

/drop A B C D E F G
A = Item group (Leia Items.txt)
B = Item sub-index (Leia Items.txt)
C = Level (de 0 to 13)
D = Skill (0 ou 1)
E = Luck (0 ou 1)
F = Option (0 á 7)
G = Excellent option

Sum these numbers:
1 = Mana recovery after monster hunt +mana/8
2 = Health recovery after monster hunt +HP/8
4 = +7 Speed
8 = More damage +2%
16 = More damage +level/20
32 = Excellent damage rate +10%
================================================================================
=====
Item group:0
Item tipe:Sword
Index Level Skill Luck Option Exellent option
0 13 1 1 7 32 "Kris"
1 13 1 1 7 32 "Short Sword"
2 13 1 1 7 32 "Rapier"
3 13 1 1 7 32 "Katana"
4 13 1 1 7 32 "Sword of Assassin"
5 13 1 1 7 32 "Blade"
6 13 1 1 7 32 "Gladius"
7 13 1 1 7 32 "Falchion"
8 13 1 1 7 32 "Serpent Sword"
9 13 1 1 7 32 "Salamander"
10 13 1 1 7 32 "Light Saber"
11 13 1 1 7 32 "Legendary Sword"
12 13 1 1 7 32 "Helical Sword"
13 13 1 1 7 32 "Double Blade"
14 13 1 1 7 32 "Lightning Sword"
15 13 1 1 7 32 "Giant Sword"
16 13 1 1 7 32 "Sword of Destruction"
17 13 1 1 7 32 "Spirit Sword"
18 13 1 1 7 32 "Thunder Blade"
19 13 1 1 7 32 "Sword of Archangel"
20 13 1 1 7 32 "Knight Blade"
21 13 1 1 7 32 "Black Reign Blade"
22 13 1 1 7 32 "Bone Blade"
23 13 1 1 7 32 "Explosion Blade"
24 13 1 1 7 32 "DayBreak"
25 13 1 1 7 32 "Sword Dancer"
31 13 1 1 7 32 "Rune Blade"
end
================================================================================
======
Item group:2
Item tipe:Scepter
Index Level Skill Luck Option Exellent option
8 13 1 1 7 32 "Battle Scepter"
9 13 1 1 7 32 "Master Scepter"
10 13 1 1 7 32 "Great Scepter"
11 13 1 1 7 32 "Lord Scepter"
12 13 1 1 7 32 "Great Lord Scepter"
13 13 1 1 7 32 "Scepter of Archangel"
14 13 1 1 7 32 "Solay Scepter"
15 13 1 1 7 32 "Shining Scepter"
end
================================================================================
======
Item group:3
Item tipe:Spear
Index Level Skill Luck Option Exellent option
8 13 1 1 7 32 "Great Scythe"
9 13 1 1 7 32 "Bill of Balrog"
10 13 1 1 7 32 "Dragon Spear"
end
================================================================================
======
Itemgroup:4
Item tipe:Bow&Crossbow
Index Level Skill Luck Option Exellent option
0 13 1 1 7 32 "Short Bow"
1 13 1 1 7 32 "Bow"
2 13 1 1 7 32 "Elven Bow"
3 13 1 1 7 32 "Battle Bow"
4 13 1 1 7 32 "Tiger Bow"
5 13 1 1 7 32 "Silver Bow"
6 13 1 1 7 32 "Chaos Nature Bow"
7 13 1 1 7 32 "Bolt"
8 13 1 1 7 32 "Crossbow"
9 13 1 1 7 32 "Golden Crossbow"
10 13 1 1 7 32 "Arquebus"
11 13 1 1 7 32 "Light Crossbow"
12 13 1 1 7 32 "Serpent Crossbow"
13 13 1 1 7 32 "Bluewing Crossbow"
14 13 1 1 7 32 "Aquagold Crossbow"
15 13 1 1 7 32 "Arrows"
16 13 1 1 7 32 "Saint Crossbow"
17 13 1 1 7 32 "Celestial Bow"
18 13 1 1 7 32 "Crossbow of Archangel"
19 13 1 1 7 32 "Great Reign Crossbow"
20 13 1 1 7 32 "Arrow Viper Bow"
21 13 1 1 7 32 "Sylph Wind Bow"
22 13 1 1 7 32 "Albatross Bow"
end
================================================================================
=======
Item group:5
Item tipe:Staff
Index Level Skill Luck Option Exellent option
0 13 0 13 7 32 "Skull Staff"
1 13 0 13 7 32 "Angelic Staff"
2 13 0 13 7 32 "Serpent Staff"
3 13 0 13 7 32 "Thunder Staff"
4 13 0 13 7 32 "Gorgon Staff"
5 13 0 13 7 32 "Legendary Staff"
6 13 0 13 7 32 "Staff of Destruction"
7 13 0 13 7 32 "Chaos Lightning Staff"
8 13 0 13 7 32 "Staff of Destruction"
9 13 0 13 7 32 "Dragon Soul Staff"
10 13 0 13 7 32 "Staff of Archangel"
11 13 0 13 7 32 "Kundun Staff"
12 13 0 13 7 32 "Grand Viper Staff"
13 13 0 13 7 32 "Platina Wing Staff"
end
================================================================================
=======
Item group:6
Item tipe:Shields
Index Level Skill Luck Option Exellent option
6 13 1 1 7 32 "Skull Shield"
13 13 1 1 7 32 "Chaos Dragon Shield"
14 13 1 1 7 32 "Legendary Shield"
15 13 1 1 7 32 "Grand Soul Shield"
end
================================================================================
=======
Item group:7
Item tipe:Helm
Elf:
Index Level Skill Luck Option Exellent option
10 13 0 1 7 32 "Vine"
11 13 0 1 7 32 "Silk"
12 13 0 1 7 32 "Wind"
13 13 0 1 7 32 "Spirit"
14 13 0 1 7 32 "Guardian"
19 13 0 1 7 32 "Divine"
24 13 0 1 7 32 "Red Spirit"
31 13 0 1 7 32 "Sylpid Ray"
36 13 0 1 7 32 "Iris"
Knight:
0 13 0 1 7 32 "Bronze"
1 13 0 1 7 32 "Dragon"
5 13 0 1 7 32 "Leather"
6 13 0 1 7 32 "Scale"
8 13 0 1 7 32 "Brass"
9 13 0 1 7 32 "Plate"
16 13 0 1 7 32 "Black Dragon"
17 13 0 1 7 32 "Dark Phoenix"
21 13 0 1 7 32 "Great Dragon"
29 13 0 1 7 32 "Dragon Knight"
34 13 0 1 7 32 "Ashcrow"
Wizard:
2 13 0 1 7 32 "Pad"
3 13 0 1 7 32 "Legendary"
4 13 0 1 7 32 "Bone"
7 13 0 1 7 32 "Sphinx"
18 13 0 1 7 32 "Grand Soul"
22 13 0 1 7 32 "Dark Soul"
30 13 0 1 7 32 "Venom Mist"
35 13 0 1 7 32 "Eclipse"
Gladiator:
N/A
Lord:
25 13 0 1 7 32 "Light Plate"
26 13 0 1 7 32 "Adamantine"
27 13 0 1 7 32 "Dark Steel"
28 13 0 1 7 32 "Dark Master"
33 13 0 1 7 32 "Sunlight"
38 13 0 1 7 32 "Glorious"
end
================================================================================
========
Item group:8
Item tipe:Armor
Elf:
Index Level Skill Luck Option Exellent option
10 13 0 1 7 32 "Vine"
11 13 0 1 7 32 "Silk"
12 13 0 1 7 32 "Wind"
13 13 0 1 7 32 "Spirit"
14 13 0 1 7 32 "Guardian"
19 13 0 1 7 32 "Divine"
24 13 0 1 7 32 "Red Spirit"
31 13 0 1 7 32 "Sylpid Ray"
36 13 0 1 7 32 "Iris"
Knight:
0 13 0 1 7 32 "Bronze"
1 13 0 1 7 32 "Dragon"
5 13 0 1 7 32 "Leather"
6 13 0 1 7 32 "Scale"
8 13 0 1 7 32 "Brass"
9 13 0 1 7 32 "Plate"
16 13 0 1 7 32 "Black Dragon"
17 13 0 1 7 32 "Dark Phoenix"
21 13 0 1 7 32 "Great Dragon"
29 13 0 1 7 32 "Dragon Knight"
34 13 0 1 7 32 "Ashcrow"
Wizard:
2 13 0 1 7 32 "Pad"
3 13 0 1 7 32 "Legendary"
4 13 0 1 7 32 "Bone"
7 13 0 1 7 32 "Sphinx"
18 13 0 1 7 32 "Grand Soul"
22 13 0 1 7 32 "Dark Soul"
30 13 0 1 7 32 "Venom Mist"
35 13 0 1 7 32 "Eclipse"
Gladiator:
15 13 0 1 7 32 "Storm Crow"
20 13 0 1 7 32 "Thunder Hawk"
23 13 0 1 7 32 "Hurricane"
32 13 0 1 7 32 "Volcano"
Lord:
25 13 0 1 7 32 "Light Plate"
26 13 0 1 7 32 "Adamantine"
27 13 0 1 7 32 "Dark Steel"
28 13 0 1 7 32 "Dark Master"
33 13 0 1 7 32 "Sunlight"
38 13 0 1 7 32 "Glorious"
end
================================================================================
========
Item group:9
Item tipe:Pans
Elf:
Index Level Skill Luck Option Exellent option
10 13 0 1 7 32 "Vine"
11 13 0 1 7 32 "Silk"
12 13 0 1 7 32 "Wind"
13 13 0 1 7 32 "Spirit"
14 13 0 1 7 32 "Guardian"
19 13 0 1 7 32 "Divine"
24 13 0 1 7 32 "Red Spirit"
31 13 0 1 7 32 "Sylpid Ray"
36 13 0 1 7 32 "Iris"
Knight:
0 13 0 1 7 32 "Bronze"
1 13 0 1 7 32 "Dragon"
5 13 0 1 7 32 "Leather"
6 13 0 1 7 32 "Scale"
8 13 0 1 7 32 "Brass"
9 13 0 1 7 32 "Plate"
16 13 0 1 7 32 "Black Dragon"
17 13 0 1 7 32 "Dark Phoenix"
21 13 0 1 7 32 "Great Dragon"
29 13 0 1 7 32 "Dragon Knight"
34 13 0 1 7 32 "Ashcrow"
Wizard:
2 13 0 1 7 32 "Pad"
3 13 0 1 7 32 "Legendary"
4 13 0 1 7 32 "Bone"
7 13 0 1 7 32 "Sphinx"
18 13 0 1 7 32 "Grand Soul"
22 13 0 1 7 32 "Dark Soul"
30 13 0 1 7 32 "Venom Mist"
35 13 0 1 7 32 "Eclipse"
Gladiator:
15 13 0 1 7 32 "Storm Crow"
20 13 0 1 7 32 "Thunder Hawk"
23 13 0 1 7 32 "Hurricane"
32 13 0 1 7 32 "Volcano"
Lord:
25 13 0 1 7 32 "Light Plate"
26 13 0 1 7 32 "Adamantine"
27 13 0 1 7 32 "Dark Steel"
28 13 0 1 7 32 "Dark Master"
33 13 0 1 7 32 "Sunlight"
38 13 0 1 7 32 "Glorious"
end
================================================================================
========
Item group:10
Item tipe:Gloves
Elf:
Index Level Skill Luck Option Exellent option
10 13 0 1 7 32 "Vine"
11 13 0 1 7 32 "Silk"
12 13 0 1 7 32 "Wind"
13 13 0 1 7 32 "Spirit"
14 13 0 1 7 32 "Guardian"
19 13 0 1 7 32 "Divine"
24 13 0 1 7 32 "Red Spirit"
31 13 0 1 7 32 "Sylpid Ray"
36 13 0 1 7 32 "Iris"
Knight:
0 13 0 1 7 32 "Bronze"
1 13 0 1 7 32 "Dragon"
5 13 0 1 7 32 "Leather"
6 13 0 1 7 32 "Scale"
8 13 0 1 7 32 "Brass"
9 13 0 1 7 32 "Plate"
16 13 0 1 7 32 "Black Dragon"
17 13 0 1 7 32 "Dark Phoenix"
21 13 0 1 7 32 "Great Dragon"
29 13 0 1 7 32 "Dragon Knight"
34 13 0 1 7 32 "Ashcrow"
Wizard:
2 13 0 1 7 32 "Pad"
3 13 0 1 7 32 "Legendary"
4 13 0 1 7 32 "Bone"
7 13 0 1 7 32 "Sphinx"
18 13 0 1 7 32 "Grand Soul"
22 13 0 1 7 32 "Dark Soul"
30 13 0 1 7 32 "Venom Mist"
35 13 0 1 7 32 "Eclipse"
Gladiator:
15 13 0 1 7 32 "Storm Crow"
20 13 0 1 7 32 "Thunder Hawk"
23 13 0 1 7 32 "Hurricane"
32 13 0 1 7 32 "Volcano"
Lord:
25 13 0 1 7 32 "Light Plate"
26 13 0 1 7 32 "Adamantine"
27 13 0 1 7 32 "Dark Steel"
28 13 0 1 7 32 "Dark Master"
33 13 0 1 7 32 "Sunlight"
38 13 0 1 7 32 "Glorious"
end
================================================================================
========
Item group:11
Item tipe:Boots
Elf:
Index Level Skill Luck Option Exellent option
10 13 0 1 7 32 "Vine"
11 13 0 1 7 32 "Silk"
12 13 0 1 7 32 "Wind"
13 13 0 1 7 32 "Spirit"
14 13 0 1 7 32 "Guardian"
19 13 0 1 7 32 "Divine"
24 13 0 1 7 32 "Red Spirit"
31 13 0 1 7 32 "Sylpid Ray"
36 13 0 1 7 32 "Iris"
Knight:
0 13 0 1 7 32 "Bronze"
1 13 0 1 7 32 "Dragon"
5 13 0 1 7 32 "Leather"
6 13 0 1 7 32 "Scale"
8 13 0 1 7 32 "Brass"
9 13 0 1 7 32 "Plate"
16 13 0 1 7 32 "Black Dragon"
17 13 0 1 7 32 "Dark Phoenix"
21 13 0 1 7 32 "Great Dragon"
29 13 0 1 7 32 "Dragon Knight"
34 13 0 1 7 32 "Ashcrow"
Wizard:
2 13 0 1 7 32 "Pad"
3 13 0 1 7 32 "Legendary"
4 13 0 1 7 32 "Bone"
7 13 0 1 7 32 "Sphinx"
18 13 0 1 7 32 "Grand Soul"
22 13 0 1 7 32 "Dark Soul"
30 13 0 1 7 32 "Venom Mist"
35 13 0 1 7 32 "Eclipse"
Gladiator:
15 13 0 1 7 32 "Storm Crow"
20 13 0 1 7 32 "Thunder Hawk"
23 13 0 1 7 32 "Hurricane"
32 13 0 1 7 32 "Volcano"
Lord:
25 13 0 1 7 32 "Light Plate"
26 13 0 1 7 32 "Adamantine"
27 13 0 1 7 32 "Dark Steel"
28 13 0 1 7 32 "Dark Master"
33 13 0 1 7 32 "Sunlight"
38 13 0 1 7 32 "Glorious"
end
================================================================================
========
Item group:12
Item tipe:Wings
Elf:
Index Level Skill Luck Option Exellent option
0 15 0 1 7 0 "Wing of Fairy"
3 15 0 1 7 32 "Wing of Spirit"
38 15 0 1 7 32 "Wings of Illusion"
Kinght:
2 15 0 1 7 0 "Wing of Satan"
5 15 0 1 7 32 "Wing of Devil"
36 15 0 1 7 32 "Wings of Storm"
Wizard:
1 15 0 1 7 0 "Wing of Angel"
4 15 0 1 7 32 "Wing of Soul"
37 15 0 1 7 32 "Wings of Space-Time"
Gladiator:
6 15 0 1 7 32 "Wing of Darkness"
39 15 0 1 7 32 "Wings of Hurricane"
Lord:
30 15 0 1 7 32 "Cape of Lord"
40 15 0 1 7 32 "Mantle of Monarch"
end
================================================================================
========
Item group:14
Item tipe:MISC
Index Level Skill Luck Option Exellent option
11 12 0 0 0 0 "Box of Kundun+5"
11 11 0 0 0 0 "Box of Kundun+4"
11 10 0 0 0 0 "Box of Kundun+3"
11 9 0 0 0 0 "Box of Kundun+2"
11 8 0 0 0 0 "Box of Kundun+1"
13 0 0 0 0 0 "Jewel of Bless"
14 0 0 0 0 0 "Jewel of Soul"
16 0 0 0 0 0 "Jewel of Life"
22 0 0 0 0 0 "Jewel of Creation"
31 0 0 0 0 0 "Jewel of Guardian"
42 0 0 0 0 0 "Jewel of Harmony"
41 0 0 0 0 0 "Gemstone"
44 0 0 0 0 0 "Hih smelting three"
28 1 0 0 0 0 "Lost Map+1"
28 2 0 0 0 0 "Lost Map+2"
28 3 0 0 0 0 "Lost Map+3"
28 4 0 0 0 0 "Lost Map+4"
28 5 0 0 0 0 "Lost Map+5"
28 6 0 0 0 0 "Lost Map+6"
28 7 0 0 0 0 "Lost Map+7"
end
================================================================================
========
Item group:20
Item tipe:DL Scrools
Index
21 "Scroll of FireBurst"
22 "Scroll of Summon"
23 "Scroll of Critical Damage"
24 "Scroll of Elect Spark"
35 "Scroll of Fire Scream"
end
================================================================================
========
Item group:13
Item tipe:DW/SM/MG Scroll
0 "Scroll of Poison"
1 "Scroll of Meteorite"
2 "Scroll of Lighting"
3 "Scroll of Fire Ball"
4 "Scroll of Flame"
5 "Scroll of Teleport"
6 "Scroll of Ice"
7 "Scroll of Twister"
8 "Scroll of Evil Spirit"
9 "Scroll of Hellfire"
10 "Scroll of Power Wave"
11 "Scroll of Aqua Beam"
12 "Scroll of Cometfall"
13 "Scroll of Inferno"
14 "Scroll of Teleport"
15 "Scroll of Soul Barrier"
16 "Scroll of Decay"
17 "Scroll of Ice Storm"
18 "Scroll of Nova"
end
================================================================================
========
Item group:12
Item tipe:DK/Elf/MG Orbs/Jawel Of Chaos
Index
7 "Orb of Twisting Slash"
8 "Healing Orb"
9 "Orb of Great Defense"
10 "Orb of Greater Damage"
11 "Orb of Summoning"
12 "Orb of Rageful Blow"
13 "Orb of Impale"
14 "Orb of Great Fortitude"
16 "Orb of Fire Slash"
17 "Orb of Penetration"
18 "Orb of Ice Arrow"
19 "Orb of Death Stab"
15 "Jewel of Chaos"

 

Comandos Úteis para Query Analyzer

Comandos:
Para Executar os comandos Siga as Instruções:

1. Acesse Menu Iniciar > Microsoft SQL Server > Query Analyzer

2. Abra-o e coloque seu login ( sa ) e sua senha do SQL

3. Selecione a database MuOnline, e cole algum comando no espaço.

4. Após colar o comando, aperte F5 ou em Play!

Editar Dias Ban!!!
UPDATE Character SET Dias_Ban=dias do ban WHERE name ='nome do fdp'

Editar resets!!!
UPDATE Character SET Resets=Numero de resets WHERE name ='Nome da conta'

Bloquear uma conta!!!
UPDATE MEMB_INFO SET bloc_code=1 WHERE memb___id='nome_da_conta'

Desbloquear uma conta!!!
UPDATE MEMB_INFO SET bloc_code=0 WHERE memb___id='nome_da_conta'

Desbloquear todas contas!!!
UPDATE MEMB_INFO SET bloc_code=0

Bloquear todas contas!!!
UPDATE MEMB_INFO SET bloc_code=1

Listar todas a contas bloqueadas!!!
SELECT memb___id FROM MEMB_INFO WHERE bloc_code=1

Listar todas a contas desbloqueadas!!!
SELECT memb___id FROM MEMB_INFO WHERE bloc_code=0

Colocar um char de ADM
UPDATE Character SET CtlCode=10 WHERE Name='nome_do_char'

Tirar o ADM de um char!!!
UPDATE Character SET CtlCode=1 WHERE Name='nome_do_char'

Tornar um char GM!!!
UPDATE Character SET CtlCode=8 WHERE Name='nome_do_char'

Tirar o GM de um char!!!
UPDATE Character SET CtlCode=1 WHERE Name='nome_do_char'

Listar todos chars GM!!!
SELECT Name FROM Character WHERE CtlCode=8

Listar todos chars ADM!!!
SELECT Name FROM Character WHERE CtlCode=10

Listar todas as contas online!!!
SELECT memb___id FROM MEMB_STAT WHERE ConnectStat=1

Listar todas as contas offline!!!
SELECT memb___id FROM MEMB_STAT WHERE ConnectStat=0

Limpar todas as contas que ficaram online presas ( efetuar este comando com o servidor OFF )!!!
UPDATE MEMB_STAT SET ConnectStat=0 WHERE ConnectStat=1

Tornar uma conta VIP!!!
UPDATE MEMB_INFO SET vip=1 WHERE memb___id='nome_da_conta'

Tornar uma conta Não VIP!!!
UPDATE MEMB_INFO SET vip=0 WHERE memb___id='nome_da_conta'

Listar todas a contas Não VIP!!!
SELECT memb___id FROM MEMB_INFO WHERE vip=1

Listar todas a contas Não VIP!!!
SELECT memb___id FROM MEMB_INFO WHERE vip=0

Ver contas de adm!!!
SELECT memb___id FROM Character WHERE CtlCode=10

Ver contas de gm!!!
SELECT memb___id FROM Character WHERE CtlCode=8

 

Configurar Arquivos de Host do Windowns

Configure-o dessa forma:
# Copyright (c) 1993-1999 Microsoft Corp.
#
# Este é um arquivo HOSTS de exemplo usado pelo Microsoft TCP/IP para Windows.
#
# Este arquivo contém os mapeamentos de endereços IP para nomes de host. Cada
# entrada deve ser mantida em uma linha individual. O endereço IP deve
# ser colocado na primeira coluna, seguido do nome de host correspondente.
# O endereço IP e o nome do host devem ser separados por pelo menos um
# espaço.
#
# Adicionalmente, comentários (como estes) podem ser inseridos em linhas
# individuais ou após o nome de computador indicado por um símbolo '#'.
#
# Por exemplo:
#
# 102.54.94.97 rino.acme.com # servidor de origem
# 38.25.63.10 x.acme.com # host cliente x

127.0.0.1 localhost
192.168.x.x xxxx.no-ip.info

Na linha em vermelho adicione sei IP de rede e o no-ip salve e feche!

 

 

Continua Proxima Pagina Tutorias 3