OTHispano
¿Quieres reaccionar a este mensaje? Regístrate en el foro con unos pocos clics o inicia sesión para continuar.

Ir abajo
[TUTORIAL]Poner Server Mysql y Crear y Modificar Tu WEB!! 9uylN
"Ryukend"
Miembro
Mensajes Mensajes : 120

[TUTORIAL]Poner Server Mysql y Crear y Modificar Tu WEB!! Empty [TUTORIAL]Poner Server Mysql y Crear y Modificar Tu WEB!!

Mar Nov 08, 2011 1:17 pm
Bueno estaba aburrido y quise subir esto un tutorial para tener una web y poderla modificar para tu ot

Link de Modern ACC y Layout:
http://www.megaupload.com/?d=YO4XEX9B

Link del Xampp:
http://www.apachefriends.org/es/xampp.html (Escoje el sistema operativo y lo bajan cualquier version sirve)

Instalar el Xampp:
1.-Ejecutar el Instalador De Xampp (El archivo kdescargamos para instalar Xampp)
2.-Seleccionamos le lenguaje
3.-Damos clic en Next
4.-Escojer la direccion donde instalaremos Xampp (Recomiendo en Disco local C:)
5.-Dar clic y k kede con un tiket la opcion Select Apache service y Select MySQL as service.
6.-Den clic en Install
7.-Apenas este todo instalado les saldra un cuadro negro
8.-Apreta OK y luego yes
9.-Se Abrira Panel Control de Xampp, ai deven estar las opciones MySQL y Apache en Running de color verde...

[TUTORIAL]Poner Server Mysql y Crear y Modificar Tu WEB!! Xampppanelcontrol

-Una ves este echo esto abriremos un Explorador y pondras como web "localhost" por Ejemplo Http://Localhost/
-luego una ves estes ai escojeras tu lenguaje (Español Supongo XD)
-Daremos clic en Chequeo de Seguridad (en español) si pusiste ingles te saldra Security

[TUTORIAL]Poner Server Mysql y Crear y Modificar Tu WEB!! Chequeodeseguridad

-Nos saldra una especie de tabla k dise algo de seguridad y weas asi, abajo de ella nos muestran un link, Hay que darle click alli

[TUTORIAL]Poner Server Mysql y Crear y Modificar Tu WEB!! Paso3r

-Nos manda a una pagina en la que tenemos que escojer nuestrapassword... escribanla ambas veses y luego guardan...(Esta es la password de nuestra database)
-Te saldra un mensaje de internet, dale Si o Yes y eso significa q vamos bien

[TUTORIAL]Poner Server Mysql y Crear y Modificar Tu WEB!! Paso4z

Ahora llegael segundo paso como agregar nuestra database

-Entraremos a localhost/phpmyadmin
-te pedira una acc y pass... la account siempre es root, y la password es la k escojiste anteriormente
-una ves te allas conectado saldra algo como esto

[TUTORIAL]Poner Server Mysql y Crear y Modificar Tu WEB!! Sinttuloic

-donde dise crear nueba base de datos pondremos el nobmre de nuestra database eemm.. escojan uno
-Luego donde dise Cotejamiento... asi dejenlo , y luego den clic en Crear...
Bueno les saldra algo como esto
"La base de datos database se creó."
En mi caso es Database lla k asi le puse de nombre, eso baria de k nombre allan puesto anteriormente

-Una ves echo esto y si les salio lo k les akabo de desir significa k lla podremos improtar nuestra base de datos del server...
-Damos clic donde dise Importar...
-Damos clic en el cuadro k dise "Seleccionar un Archivo"
-Buskamos la database de nuestro server... (PERO OJO K AKI ES EL ERROR DE MUXOS, INCLULLENDOME AMI LAS PRIMERAS VESES... USTEDES NO DEBEN TOMAR EL ARCHIVO K COMUNMENTE USAN EN SQLITESTUDIO NOO AKI USTEDES DEBEN SELECCIONAR EL ARCHIBO LLAMADO "mysql.sql" UBIKADO EN LA CARPETA SCHEMAS DE SU SERVER!!!!
-Una ves seleccionada Mysql,sql daremos clic en "Continuar"
y les saldra algo como esto:

[TUTORIAL]Poner Server Mysql y Crear y Modificar Tu WEB!! 33792505

y tambien por el lado de <--- saldra algo como esto:

[TUTORIAL]Poner Server Mysql y Crear y Modificar Tu WEB!! 41087710

Bueno si les sale significa k su database kedo correctamente añadida y si no les sale es por k son unos nuubs :S
... Con esto lla podemos empesar a trabajar el server y la web... Comenzaremos por la web... para luego terminar con el server

Primero una ves lla echo esto iremos a download y supongo lla tienen descargado Modern ACC
Si no lo tienen en el principio esta el link...
-Priremos iremos a Disco local C:/Xampp/Htdocs... eliminaremos la carpeta llamada Xampp k c encuentra ai...
-Luego descomprimiremos los archivos trunk.r129 en esa carpeta (htcdocs y nos kedara algo asi:

[TUTORIAL]Poner Server Mysql y Crear y Modificar Tu WEB!! 67362916

-Luego en su internet k usen, abriran nuebamente localhost pero esta ves veran unos cambios...
-Aki entra el proceso de instalacion del Modern Acc

[TUTORIAL]Poner Server Mysql y Crear y Modificar Tu WEB!! 2j5zy86

ahora vamos con la Config.Lua que es esta (me sirvio a mi ot 8.60)

accountManager = "yes"
accountManager = "yes"
namelockManager = "yes"
newPlayerChooseVoc = "yes"
newPlayerSpawnPosX = 1500
newPlayerSpawnPosY = 1500
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 1
newPlayerMagicLevel = 0
generateAccountNumber = "no"


redSkullLength = 3 * 24 * 60 * 60
blackSkullLength = 5 * 24 * 60 * 60
dailyFragsToRedSkull = 6
weeklyFragsToRedSkull = 50000
monthlyFragsToRedSkull = 50000
dailyFragsToBlackSkull = dailyFragsToRedSkull
weeklyFragsToBlackSkull = weeklyFragsToRedSkull
monthlyFragsToBlackSkull = monthlyFragsToRedSkull
dailyFragsToBanishment = dailyFragsToRedSkull
weeklyFragsToBanishment = weeklyFragsToRedSkull
monthlyFragsToBanishment = monthlyFragsToRedSkull
blackSkulledDeathHealth = 40
blackSkulledDeathMana = 0
useBlackSkull = "yes"
advancedFragList = "yes"


notationsToBan = 3
warningsToFinalBan = 4
warningsToDeletion = 5
banLength = 7 * 24 * 60 * 60
finalBanLength = 30 * 24 * 60 * 60
ipBanishmentLength = 1 * 24 * 60 * 60
broadcastBanishments = "yes"
maxViolationCommentSize = 200
violationNameReportActionType = 2
autoBanishUnknownBytes = "no"

worldType = "no-pvp" <---------------- modificar con estas palabras (no-pvp - pvp - war)
protectionLevel = 60
pvpTileIgnoreLevelAndVocationProtection = "yes"
pzLocked = 20 * 1000
huntingDuration = 60 * 1000
criticalHitChance = 7
criticalHitMultiplier = 1
displayCriticalHitNotify = "yes"
removeWeaponAmmunition = "no"
removeWeaponCharges = "no"
removeRuneCharges = "no"
whiteSkullTime = 5 * 60 * 1000
noDamageToSameLookfeet = "no"
showHealingDamage = "yes"
showHealingDamageForMonsters = "yes"
fieldOwnershipDuration = 5 * 1000
stopAttackingAtExit = "no"
oldConditionAccuracy = "no"
loginProtectionPeriod = 10 * 1000
deathLostPercent = 5
stairhopDelay = 1 * 1000
pushCreatureDelay = 2 * 1000
deathContainerId = 1987
gainExperienceColor = 215
addManaSpentInPvPZone = "no"
squareColor = 0
allowFightback = "yes"


worldId = 0
ip = "tu IP" <-------------------- TU IP!!!!
bindOnlyConfiguredIpAddress = "no"
loginPort = 7171
gamePort = 7172
adminPort = 7171
statusPort = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = 800
motd = "Bienvenido"
displayOnOrOffAtCharlist = "no"
onePlayerOnlinePerAccount = "no"
allowClones = "yes"
serverName = "Server Name"
loginMessage = "Bienvenido wn Pasala bn"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = "yes"
forceSlowConnectionsToDisconnect = "no"
loginOnlyWithLoginServer = "no"
premiumPlayerSkipWaitList = "no"


sqlType = "mysql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = "contraseña" <----- contraseña de su database
sqlDatabase = "database" <-- nombre de la database k creamos en localhost/phpmyadmin
sqlFile = "database.s3db" <---------- nombre de la database sql (pongan mysql.sql) es la k pusimos en localhost/phpmyadmin
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
passwordType = "sha1"


deathListEnabled = "yes"
deathListRequiredTime = 1 * 60 * 1000
deathAssistCount = 19
maxDeathRecords = 5


ingameGuildManagement = "yes"
levelToFormGuild = 200
premiumDaysToFormGuild = 0
guildNameMinLength = 4
guildNameMaxLength = 20


highscoreDisplayPlayers = 15
updateHighscoresAfterMinutes = 60


buyableAndSellableHouses = "yes"
houseNeedPremium = "yes"
bedsRequirePremium = "yes"
levelToBuyHouse = 1
housesPerAccount = 1
houseRentAsPrice = "no"
housePriceAsRent = "no"
housePriceEachSquare = 1000
houseRentPeriod = "never"
guildHalls = "yes"


timeBetweenActions = 200
timeBetweenExActions = 1000
checkCorpseOwner = "yes"
hotkeyAimbotEnabled = "yes"
maximumDoorLevel = 500


mapName = "Ledryan City" <--------- Nombre del map de tu ot
mapAuthor = "Amnexiac" <--------- Nombre del creador (ai dise Amnexiac, lla k mi map es unico lo cree 100%)
randomizeTiles = "yes"
useHouseDataStorage = "no"
storeTrash = "yes"
cleanProtectedZones = "yes"
mailboxDisabledTowns = "-1"


defaultPriority = "high"
niceLevel = 5
coresUsed = "-1"
optimizeDatabaseAtStartup = "yes"
removePremiumOnInit = "yes"
confirmOutdatedVersion = "no"


maxMessageBuffer = 4
bufferMutedOnSpellFailure = "no"


dataDirectory = "data/"
allowChangeOutfit = "yes"
allowChangeColors = "yes"
allowChangeAddons = "yes"
disableOutfitsForPrivilegedPlayers = "no"
bankSystem = "yes"
saveGlobalStorage = "yes"
displaySkillLevelOnAdvance = "yes"
formulaLevel = 1
formulaMagic = 4.0
bufferMutedOnSpellFailure = false
spellNameInsteadOfWords = true
emoteSpells = true
paralyzeDelay = 2000
promptExceptionTracerErrorBox = "yes"
storePlayerDirection = "no"
monsterLootMessage = 3
monsterLootMessageType = 25


ghostModeInvisibleEffect = "no"
ghostModeSpellEffects = "yes"


idleWarningTime = 599 * 60 * 1000
idleKickTime = 600 * 60 * 1000
expireReportsAfterReads = 1
playerQueryDeepness = 2
maxItemsPerPZTile = 0
maxItemsPerHouseTile = 0


freePremium = "yes"
premiumForPromotion = "yes"

blessingsOnlyPremium = "yes"
blessingReductionBase = 5
blessingReductionDecreament = 5
eachBlessReduction = 4


experienceStages = "no"
rateExperience = 250
rateExperienceFromPlayers = 0
rateSkill = 100
rateMagic = 80
rateLoot = 30
rateSpawn = 1


minLevelThresholdForKilledPlayer = 0.9
maxLevelThresholdForKilledPlayer = 1.1


rateStaminaLoss = 1
rateStaminaGain = 4000 / 3
rateStaminaThresholdGain = 4
staminaRatingLimitTop = 41 * 60
staminaRatingLimitBottom = 14 * 60
rateStaminaAboveNormal = 1.5
rateStaminaUnderNormal = 1.0
staminaThresholdOnlyPremium = "yes"


experienceShareRadiusX = 30
experienceShareRadiusY = 30
experienceShareRadiusZ = 1
experienceShareLevelDifference = 2 / 3
extraPartyExperienceLimit = 20
extraPartyExperiencePercent = 5
experienceShareActivity = 2 * 60 * 1000


globalSaveEnabled = "no"
globalSaveHour = 8
shutdownAtGlobalSave = "yes"
cleanMapAtGlobalSave = "no"


deSpawnRange = 2
deSpawnRadius = 100


maxPlayerSummons = 3
teleportAllSummons = "no"
teleportPlayerSummons = "no"

ownerName = "amnexiac"
ownerEmail = "cheo_009@live.cl"
url = "pokeadict.no-ip.org"
location = "Chile"
displayGamemastersWithOnlineCommand = "no"


adminLogsEnabled = "yes"
displayPlayersLogging = "yes"
prefixChannelLogs = ""
runFile = ""
outLogName = ""
errorLogName = ""
truncateLogsOnStartup = "no"

deadProtection = 201


Esa seria la config.lua... ustedes modifican las partes k yo marke con una flecha y texto(<-----------)obio una ves modificado borran la flecha y el texto para k no les de error...
Es sumamente importante k editen eso.!, si no ponen esto les dira error en Database y cosas asi..


si tiene la original traten de modificarla si no pueden tonces usen esta

Ahora ya tiene una buena WEB Creada

ahora para poner el layout de su preferencia tienen que ir a la carpeta xampp/htdocs/layouts y alli pegar el layout de su preferencia copian el nombre del layout por ejemplo "necroxia" luego van a Xampp/htdocs entran a config y buscan "default" (OBIO QUE TODO SIN LAS COMILLAS") luego quitan default y ponen el nombre de su layout (es el nombre que aparece en la carpeta) y ya tienen su web creada con un buen Layout

Imagenes de los Layouts:
El layout de Paxton6.0 Imagenes:
[TUTORIAL]Poner Server Mysql y Crear y Modificar Tu WEB!! Paxtom60

El Layout de TibiaRl:
[TUTORIAL]Poner Server Mysql y Crear y Modificar Tu WEB!! Tibiarl

no les subo el de necroxia porque pesan mucho las imagenes entren a la web de necroxia que es esta https://www.necroxia.com/web/index.php/ y es ese mismo layout ;D



Comenten y den Rep+ Plz

El autor de este mensaje ha sido baneado del foro - Ver el mensaje

Volver arriba
Permisos de este foro:
No puedes responder a temas en este foro.