-
Posts
35 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Woytman
-
-
Everyone reupload? Thanks
-
Good day, after login is in the syslog 5900x in 1second "HORSE DIE 0x0 0x0".
I try
but, no solved. Thx for reply
-
Thanks, i search in client source... but this error is from server source input_main.cpp
if (pinfo->bFunc == FUNC_MOVE) { if (ch->GetLimitPoint(POINT_MOV_SPEED) == 0) return; ch->SetRotation(pinfo->bRot * 5); // Áßşą ÄÚµĺ ch->ResetStopTime(); // "" ch->Goto(pinfo->lX, pinfo->lY); } else { if (pinfo->bFunc == FUNC_ATTACK || pinfo->bFunc == FUNC_COMBO) ch->OnMove(true); else if (pinfo->bFunc & FUNC_SKILL) { const int MASK_SKILL_MOTION = 0x7F; unsigned int motion = pinfo->bFunc & MASK_SKILL_MOTION; if (!ch->IsUsableSkillMotion(motion)) { const char* name = ch->GetName(); unsigned int job = ch->GetJob(); unsigned int group = ch->GetSkillGroup(); char szBuf[256]; snprintf(szBuf, sizeof(szBuf), "SKILL_HACK: name=%s, job=%d, group=%d, motion=%d", name, job, group, motion); LogManager::instance().HackLog(szBuf, ch->GetDesc()->GetAccountTable().login, ch->GetName(), ch->GetDesc()->GetHostName()); sys_log(0, "%s", szBuf); if (test_server) { ch->GetDesc()->DelayedDisconnect(number(2, 8)); ch->ChatPacket(CHAT_TYPE_INFO, szBuf); } else { ch->GetDesc()->DelayedDisconnect(number(150, 500)); } } ch->OnMove(); } ch->SetRotation(pinfo->bRot * 5); // Áßşą ÄÚµĺ ch->ResetStopTime(); // "" ch->Move(pinfo->lX, pinfo->lY); ch->Stop(); ch->StopStaminaConsume(); }
-
Hi, i have source by Koridev 1.5, when i use Aura and Berserk Skill P -> Syserr :
l 2 01:48:01 :: SKILL_HACK: name=loper, job=0, group=0, motion=79
Jul 2 01:48:05 :: SKILL_HACK: name=loper, job=0, group=0, motion=78and game kick me.
Everyone help? Thanks
-
-
Thanks @Ken
-
Bad search... Solution here:
-
On 18. 1. 2015 at 11:15 PM, Randomize said:
In PythonNetworkStreamPhaseGameItem.cpp search this:
bool CPythonNetworkStream::SendQuickSlotAddPacket(BYTE wpos, BYTE type, BYTE pos)
Replace:
bool CPythonNetworkStream::SendQuickSlotAddPacket(BYTE wpos, BYTE type, BYTE pos)
Replace: Edit to :
bool CPythonNetworkStream::SendQuickSlotAddPacket(WORD wpos, BYTE type, WORD pos)
-
Everyone help? Thx
-
with belt_system . is_belt ( )
Calls undeclared function! :
item2.equip
item2.get_attr
item2.set_attr
pc2.give_or_drop_item_and_select
Error occured on compile Quest/belt_system.quest
Everyone help? Thanks -
-
Tallywa : Try
On 11. 1. 2016 at 2:26 PM, FlorinMarian said:#Solved.
I've posted here unbugged files.
JpegFile.cpp
#include "StdAfx.h"
#include "JpegFile.h"
#include <stdio.h>
#include <stdlib.h>
#include <memory.h>#include <libjpeg-6b/jpeglib.h>
#include <libjpeg-6b/jpegLibLink.h>#define OUTBUFFER_SIZE 0x8000
static FILE*fi;
static JOCTET * buffer;
static unsigned char*dest;
static int len;
static int destlen;
static unsigned char*data_1;
static int pos;
static int size_1;static void file_init_destination(j_compress_ptr cinfo)
{
struct jpeg_destination_mgr*dmgr =
(struct jpeg_destination_mgr*)(cinfo->dest);
buffer = (JOCTET*)malloc(OUTBUFFER_SIZE);
if(!buffer) {
perror("malloc");
printf("Out of memory!\n");
exit(1);
}
dmgr->next_output_byte = buffer;
dmgr->free_in_buffer = OUTBUFFER_SIZE;
}static boolean file_empty_output_buffer(j_compress_ptr cinfo)
{
struct jpeg_destination_mgr*dmgr =
(struct jpeg_destination_mgr*)(cinfo->dest);
if(fi)
fwrite(buffer, OUTBUFFER_SIZE, 1, fi);
dmgr->next_output_byte = buffer;
dmgr->free_in_buffer = OUTBUFFER_SIZE;
return 1;
}static void file_term_destination(j_compress_ptr cinfo)
{ struct jpeg_destination_mgr*dmgr =
(struct jpeg_destination_mgr*)(cinfo->dest);
if(fi)
fwrite(buffer, OUTBUFFER_SIZE-dmgr->free_in_buffer, 1, fi);
free(buffer);
buffer = 0;
dmgr->free_in_buffer = 0;
}static void mem_init_destination(j_compress_ptr cinfo)
{
struct jpeg_destination_mgr*dmgr =
(struct jpeg_destination_mgr*)(cinfo->dest);
dmgr->next_output_byte = dest;
dmgr->free_in_buffer = destlen;
}static boolean mem_empty_output_buffer(j_compress_ptr cinfo)
{
printf("jpeg mem overflow!\n");
exit(1);
}static void mem_term_destination(j_compress_ptr cinfo)
{
struct jpeg_destination_mgr*dmgr =
(struct jpeg_destination_mgr*)(cinfo->dest);
len = destlen - dmgr->free_in_buffer;
dmgr->free_in_buffer = 0;
}int jpeg_save(unsigned char*data_1, int width, int height, int quality, const char*filename)
{
struct jpeg_destination_mgr mgr;
struct jpeg_compress_struct cinfo;
struct jpeg_error_mgr jerr;
int t;if(filename) {
fi = fopen(filename, "wb");
if(fi == NULL)
return 0;
} else
fi = NULL;memset(&cinfo, 0, sizeof(cinfo));
memset(&jerr, 0, sizeof(jerr));
memset(&mgr, 0, sizeof(mgr));
cinfo.err = jpeg_std_error(&jerr);
jpeg_create_compress(&cinfo);mgr.init_destination = file_init_destination;
mgr.empty_output_buffer = file_empty_output_buffer;
mgr.term_destination = file_term_destination;
cinfo.dest = &mgr;// init compression
cinfo.image_width = width;
cinfo.image_height = height;
cinfo.input_components = 3;
cinfo.in_color_space = JCS_RGB;
jpeg_set_defaults(&cinfo);
jpeg_set_quality(&cinfo,quality,TRUE);//jpeg_write_tables(&cinfo);
//jpeg_suppress_tables(&cinfo, TRUE);
jpeg_start_compress(&cinfo, FALSE);
for(t=0;t<height;t++) {
unsigned char*data2 = &data_1[width*3*t];
jpeg_write_scanlines(&cinfo, &data2, 1);
}
jpeg_finish_compress(&cinfo);if(fi)
fclose(fi);
jpeg_destroy_compress(&cinfo);
return 1;
}int jpeg_save_to_file(unsigned char*data_1, int width, int height, int quality, FILE*_fi)
{
struct jpeg_destination_mgr mgr;
struct jpeg_compress_struct cinfo;
struct jpeg_error_mgr jerr;
int t;fi = _fi;
memset(&cinfo, 0, sizeof(cinfo));
memset(&jerr, 0, sizeof(jerr));
memset(&mgr, 0, sizeof(mgr));
cinfo.err = jpeg_std_error(&jerr);
jpeg_create_compress(&cinfo);mgr.init_destination = file_init_destination;
mgr.empty_output_buffer = file_empty_output_buffer;
mgr.term_destination = file_term_destination;
cinfo.dest = &mgr;// init compression
cinfo.image_width = width;
cinfo.image_height = height;
cinfo.input_components = 3;
cinfo.in_color_space = JCS_RGB;
jpeg_set_defaults(&cinfo);
cinfo.dct_method = JDCT_IFAST;
jpeg_set_quality(&cinfo,quality,TRUE);//jpeg_write_tables(&cinfo);
//jpeg_suppress_tables(&cinfo, TRUE);
jpeg_start_compress(&cinfo, FALSE);
for(t=0;t<height;t++) {
unsigned char*data2 = &data_1[width*3*t];
jpeg_write_scanlines(&cinfo, &data2, 1);
}
jpeg_finish_compress(&cinfo);
jpeg_destroy_compress(&cinfo);
return 1;
}int jpeg_save_to_mem(unsigned char*data_1, int width, int height, int quality, unsigned char*_dest, int _destlen)
{
struct jpeg_destination_mgr mgr;
struct jpeg_compress_struct cinfo;
struct jpeg_error_mgr jerr;
int t;memset(&cinfo, 0, sizeof(cinfo));
memset(&jerr, 0, sizeof(jerr));
memset(&mgr, 0, sizeof(mgr));
cinfo.err = jpeg_std_error(&jerr);
jpeg_create_compress(&cinfo);dest = _dest;
len = 0;
destlen = _destlen;mgr.init_destination = mem_init_destination;
mgr.empty_output_buffer = mem_empty_output_buffer;
mgr.term_destination = mem_term_destination;
cinfo.dest = &mgr;// init compression
cinfo.image_width = width;
cinfo.image_height = height;
cinfo.input_components = 3;
cinfo.in_color_space = JCS_RGB;
jpeg_set_defaults(&cinfo);
cinfo.dct_method = JDCT_IFAST;
jpeg_set_quality(&cinfo,quality,TRUE);jpeg_start_compress(&cinfo, FALSE);
for(t=0;t<height;t++) {
unsigned char*data2 = &data_1[width*3*t];
jpeg_write_scanlines(&cinfo, &data2, 1);
}
jpeg_finish_compress(&cinfo);
jpeg_destroy_compress(&cinfo);
return len;
}void mem_init_source (j_decompress_ptr cinfo)
{
struct jpeg_source_mgr* mgr = cinfo->src;
mgr->next_input_byte = data_1;
mgr->bytes_in_buffer = size_1;
//printf("init %d\n", size - mgr->bytes_in_buffer);
}boolean mem_fill_input_buffer (j_decompress_ptr cinfo)
{
struct jpeg_source_mgr* mgr = cinfo->src;
printf("fill %d\n", size_1 - mgr->bytes_in_buffer);
return 0;
}void mem_skip_input_data (j_decompress_ptr cinfo, long num_bytes)
{
struct jpeg_source_mgr* mgr = cinfo->src;
printf("skip %d +%d\n", size_1 - mgr->bytes_in_buffer, num_bytes);
if(num_bytes<=0)
return;
mgr->next_input_byte += num_bytes;
mgr->bytes_in_buffer -= num_bytes;
}boolean mem_resync_to_restart (j_decompress_ptr cinfo, int desired)
{
struct jpeg_source_mgr* mgr = cinfo->src;
printf("resync %d\n", size_1 - mgr->bytes_in_buffer);
mgr->next_input_byte = data_1;
mgr->bytes_in_buffer = size_1;
return 1;
}void mem_term_source (j_decompress_ptr cinfo)
{
struct jpeg_source_mgr* mgr = cinfo->src;
//printf("term %d\n", size - mgr->bytes_in_buffer);
}int jpeg_load_from_mem(unsigned char*_data, int _size, unsigned char*dest, int width, int height)
{
struct jpeg_decompress_struct cinfo;
struct jpeg_error_mgr jerr;
struct jpeg_source_mgr mgr;
int y;
//int x;data_1 = _data;
size_1 = _size;jpeg_create_decompress(&cinfo);
mgr.next_input_byte = data_1;
mgr.bytes_in_buffer = size_1;
mgr.init_source =mem_init_source ;
mgr.fill_input_buffer =mem_fill_input_buffer ;
mgr.skip_input_data =mem_skip_input_data ;
mgr.resync_to_restart =mem_resync_to_restart ;
mgr.term_source =mem_term_source ;cinfo.err = jpeg_std_error(&jerr);
cinfo.src = &mgr;jpeg_read_header(&cinfo, TRUE);
jpeg_start_decompress(&cinfo);for(y=0;y<height;y++) {
unsigned char*j = &dest[width*y*3];
jpeg_read_scanlines(&cinfo,&j,1);
}jpeg_finish_decompress(&cinfo);
jpeg_destroy_decompress(&cinfo);
return 1;
}typedef struct _RGBA {
unsigned char a,r,g,b;
} RGBA;typedef unsigned char U8;
int jpeg_load(const char*filename, unsigned char**dest, int*_width, int*_height)
{
struct jpeg_decompress_struct cinfo;
struct jpeg_error_mgr jerr;
//struct jpeg_source_mgr mgr;FILE*fi = fopen(filename, "rb");
if(!fi) {
fprintf(stderr, "Couldn't open file %s\n", filename);
return 0;
}cinfo.err = jpeg_std_error(&jerr);
jpeg_create_decompress(&cinfo);
jpeg_stdio_src(&cinfo, fi);
jpeg_read_header(&cinfo, TRUE);
jpeg_start_decompress(&cinfo);
U8*scanline = (U8 *)malloc(4 * cinfo.output_width);int width = *_width = cinfo.output_width;
int height = *_height = cinfo.output_height;
*dest = (unsigned char*)malloc(width*height*4);int y;
for (y=0;y<height;y++) {
int x;
U8 *js = scanline;
RGBA*line = &((RGBA*)(*dest))[y*width];jpeg_read_scanlines(&cinfo, &js, 1);
if (cinfo.out_color_space == JCS_GRAYSCALE) {
for (x = 0; x < width; x++) {
line[x].a = 255;
line[x].r = line[x].g = line[x].b = js[x];
}
} else if (cinfo.out_color_space == JCS_RGB) {
for (x = width - 1; x >= 0; x--) {
line[x].a = 255;
line[x].r = js[x*3+0];
line[x].g = js[x*3+1];
line[x].b = js[x*3+2];
}
} else if (cinfo.out_color_space == JCS_YCCK) {
fprintf(stderr, "Error: Can't convert YCCK to RGB.\n");
return 0;
} else if (cinfo.out_color_space == JCS_YCbCr) {
for (x = 0; x < width; x++) {
int y = js[x * 3 + 0];
int u = js[x * 3 + 1];
int v = js[x * 3 + 1];
line[x].a = 255;
line[x].r = y + ((360 * (v - 128)) >> 8);
line[x].g = y - ((88 * (u - 128) + 183 * (v - 128)) >> 8);
line[x].b = y + ((455 * (u - 128)) >> 8);
}
} else if (cinfo.out_color_space == JCS_CMYK) {
for (x = 0; x < width; x++) {
int white = 255 - js[x * 4 + 3];
line[x].a = 255;
line[x].r = white - ((js[x * 4] * white) >> 8);
line[x].g = white - ((js[x * 4 + 1] * white) >> 8);
line[x].b = white - ((js[x * 4 + 2] * white) >> 8);
}
}
}free(scanline);
jpeg_finish_decompress(&cinfo);
jpeg_destroy_decompress(&cinfo);
fclose(fi);
return 1;
}JpegFile.h
#ifndef _JPEGFILE_H_
#define _JPEGFILE_H_#include <stdio.h>
int jpeg_save(unsigned char*data_1, int width, int height, int quality, const char*filename);
int jpeg_save_to_file(unsigned char*data_1, int width, int height, int quality, FILE*fi);
int jpeg_save_to_mem(unsigned char*data_1, int width, int height, int quality, unsigned char*dest, int destsize);
int jpeg_load(const char*filename, unsigned char**dest, int*width, int*height);
int jpeg_load_from_mem(unsigned char*_data, int size_1, unsigned char*dest, int width, int height);#endif
-
Czech:
Nu podle toho co koukám tak je to správně, ta vzorová část je pro Navicat (nebo jiný sql manager), aby veděl kam ty údaje doplnit, počítá s tím, že mob_proto.sql ještě neexistuje, ten vzor slouží pro vytvoření tabulky s příslušnými sloupci, nebo pro kontrolu zda staré sloupce souhlasí s novými query.
English:
So, what I look to make it right, the sample part is for Navicat.
- 1
-
For example? Send one line from convert and one line, how do you want to have it. //sorry bad english
-
- 1
- 2
- 1
- 1
-
How? Thanks
-
-
Hi guys, i have mainline_sg with wolfman, after update granny my client crash on create character with this error:
===== Load Script File : locale/tr/ui/selectcharacterwindow.py ===== Load Script File : uiscript/questiondialog.py SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/etc/dust/dust.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/etc/dust/running_dust.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/etc/recuperation/drugup_red.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/etc/recuperation/drugup_blue.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/etc/recuperation/drugup_green.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/etc/recuperation/drugup_purple.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/etc/recuperation/autodrugup_red.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/etc/recuperation/autodrugup_blue.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/etc/buff/buff_item1.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/etc/buff/buff_item2.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/etc/buff/buff_item3.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/etc/buff/buff_item4.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/hit/gwantong.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/etc/click/click_select.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/etc/click/click_glow_select.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/etc/stun/stun.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/etc/click/click.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/affect/damagevalue/target.mss] SYSERR: CResourceManager::GetResourcePointer: File not exist d:/ymir work/effect/affect/damagevalue/0.jpg SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/affect/damagevalue/nontarget.mss] SYSERR: CANNOT_FIND_PACK_FILE [d:/ymir work/effect/affect/damagevalue/0.jpg] CResource::Load file not exist d:\ymir work\effect\affect\damagevalue\0.jpg SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/affect/damagevalue/damage.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/affect/damagevalue/damage_1.mss] SYSERR: CResourceManager::GetResourcePointer: File not exist d:/ymir work/effect/affect/damagevalue/poison0.jpg SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/affect/damagevalue/poison.mss] SYSERR: CANNOT_FIND_PACK_FILE [d:/ymir work/effect/affect/damagevalue/poison0.jpg] CResource::Load file not exist d:\ymir work\effect\affect\damagevalue\poison0.jpg SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/affect/damagevalue/miss.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/affect/damagevalue/target_miss.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/hit/percent_damage1.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/hit/percent_damage2.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/effect/hit/percent_damage3.mss] CRaceManager::CreateRace(dwRaceIndex=0) SYSERR: CANNOT_FIND_PACK_FILE [sound/pc/warrior/intro/wait.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/pc/warrior/intro/not_selected.mss] CRaceManager::CreateRace(dwRaceIndex=4) SYSERR: CANNOT_FIND_PACK_FILE [sound/pc2/warrior/intro/wait.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/pc2/warrior/intro/not_selected.mss] CRaceManager::CreateRace(dwRaceIndex=1) SYSERR: CANNOT_FIND_PACK_FILE [sound/pc/assassin/intro/wait.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/pc/assassin/intro/not_selected.mss] CRaceManager::CreateRace(dwRaceIndex=5) SYSERR: CANNOT_FIND_PACK_FILE [sound/pc2/assassin/intro/wait.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/pc2/assassin/intro/not_selected.mss] CRaceManager::CreateRace(dwRaceIndex=2) SYSERR: CANNOT_FIND_PACK_FILE [sound/pc/sura/intro/wait.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/pc/sura/intro/not_selected.mss] CRaceManager::CreateRace(dwRaceIndex=6) SYSERR: CANNOT_FIND_PACK_FILE [sound/pc2/sura/intro/wait.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/pc2/sura/intro/not_selected.mss] CRaceManager::CreateRace(dwRaceIndex=3) SYSERR: CANNOT_FIND_PACK_FILE [sound/pc/shaman/intro/wait.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/pc/shaman/intro/not_selected.mss] CRaceManager::CreateRace(dwRaceIndex=7) SYSERR: CANNOT_FIND_PACK_FILE [sound/pc2/shaman/intro/wait.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/pc2/shaman/intro/not_selected.mss] CRaceManager::CreateRace(dwRaceIndex=8) SYSERR: CANNOT_FIND_PACK_FILE [sound/pc3/wolfman/intro/wait.mss] SYSERR: CANNOT_FIND_PACK_FILE [sound/pc3/wolfman/intro/not_selected.mss] SelectCharacterInstance: no vid by 0 SelectCharacterInstance: no vid by 0
Copy .mse to sound and rename to .mss dont work...
Where is problem? Thank you very much
-
Could you describe: How to fix it? Thanks
-
I replace my python to 2.7.12 version, and compile in v100 and compile work
-
Try: Compile all in v100
-
On 8. 1. 2017 at 2:44 AM, Tallywa said:
i have problem with marmanager.cpp back_inserter
Add to header in MarmManeger.cpp this line:
#include <iterator>
-
Hi, i have problem with Python-ast.h.
Error (active) "string" is ambiguous scriptLib ***\Python-2.7\Python-ast.h 280
Error (active) "string" is ambiguous scriptLib ***\Python-2.7\Python-ast.h 495Python-ast.h here:
When i remove this line in scriptLib/StdAfx.h
#include <Python-2.7/Python-Ast.h>
Error:
Severity Code Description Project File Line Suppression State
Error (active) expected a ')' scriptLib c:\Users\autop\Desktop\Sash with scale\Novaline extern\include\Python-2.7\symtable.h 55
Error (active) variable "PySymtable_Build" may not be initialized scriptLib c:\Users\autop\Desktop\Sash with scale\Novaline extern\include\Python-2.7\symtable.h 55
Error (active) identifier "mod_ty" is undefined scriptLib c:\Users\autop\Desktop\Sash with scale\Novaline extern\include\Python-2.7\symtable.h 55symtable.h here:
Thank you!
//sorry SOLVED!
I replace Python newer version
- 1
-
Sorry my bad i forgot write :
CDBManager::instance().ReturnQuery(szQuery, QID_LOGIN, peer->GetHandle(), info);
}
Illumina Interface 3.0 System | Twix Work / LegolasOfficial
in Interfaces
Posted
Re-UP: