Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 02.11.2006, 12:34   #26
mastery
Архивный участник
 
Join Date: Feb 2005
Posts: 159
Default

doesnt work for me... on change user parameters when i push go nothings happend.. on check char online and get nabe by id it gets me blank screen...
mastery is offline  
Old 03.11.2006, 01:53   #27
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

mastery:
What php and apache you're using?
I heard that error appearing on easyphp.
I was tested on standart builds of php (4.3.8, 5.0.1) and apache (1.33 and 2.0.52), which I'm using, it working perfectly...
hel is offline  
Old 03.11.2006, 08:10   #28
Kenjiro
Архивный участник
 
Join Date: Apr 2006
Posts: 120
Default

Quote:
Originally Posted by hel View Post
Thanks!
Will add this function in the next build!
PS: Got it from L2z?
Nope, try&errors method
Quote:
Originally Posted by hel View Post
Could anyone explain, how different "V" and "i" in pack() function? :wave:
From php manual:
i signed integer (machine dependent size and byte order)
V unsigned long (always 32 bit, little endian byte order)

Option 'i' could give 64bit output, if php has been compiled in 64bit mode (i have 32bit php/apache/mysql binaries, thus it gives the same as 'V'). Option 'V' (in my opinion) is safer than 'i' (for future releases).
Kenjiro is offline  
Old 04.11.2006, 00:43   #29
zlopi
Архивный участник
 
Join Date: Sep 2006
Posts: 31
Default

Works DelItemPacket("ddddS")

$msql="SELECT amount FROM user_item WHERE item_id=$item_id";
$item=mssql_fetch_array(mssql_query($msql));
$command=pack("ciiii",13,$char_id,0,$item_id,$item[amount]);
zlopi is offline  
Old 04.11.2006, 05:36   #30
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

New build released, added readme.txt inside archive for russians.
hel is offline  
Old 04.11.2006, 07:43   #31
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

New build 0.4.1 with some tested and fixed functions released.
hel is offline  
Old 04.11.2006, 09:28   #32
Ma4o
Архивный участник
 
Join Date: Jul 2006
Posts: 277
Default

Quote:
Originally Posted by hel View Post
New build released, added readme.txt inside archive for russians.
Thx, Hel.
rus: спасиб, за русик.
Ma4o is offline  
Old 04.11.2006, 17:19   #33
mastery
Архивный участник
 
Join Date: Feb 2005
Posts: 159
Default

Warning: Cannot modify header information - headers already sent by (output started at C:\wwwroot\httpd-2.2_x64\htdocs\a\admin\index.php:2) in C:\wwwroot\httpd-2.2_x64\htdocs\a\admin\index.php on line 2
and i got blank page

im using x64 versions of PHP-5.1.5-x64-2006-08-18 and apache 2.2.3_x64... everything else works..

do i require something else to be installed to get this working? im also chech this script on Cherokee webserver, same errors... on same machine...
mastery is offline  
Old 04.11.2006, 17:57   #34
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

Try to delete "header(.......);" strings at top from all scripts...
As I understand 5.0.0+ php don't support this format of function...
On 4.3.8 php it's working greatly... :-\
hel is offline  
Old 04.11.2006, 18:23   #35
mastery
Архивный участник
 
Join Date: Feb 2005
Posts: 159
Default

yes i fix that but anyway it doesnt work on my machine ((( also it doestn work with php 4.3.9

why i got blank page.. can it be becourse ajax u used? is it needet?
mastery is offline  
Old 04.11.2006, 18:38   #36
Dmytro
Архивный участник
 
Join Date: Nov 2005
Posts: 215
Default

Quote:
Originally Posted by hel View Post
Try to delete "header(.......);" strings at top from all scripts...
As I understand 5.0.0+ php don't support this format of function...
On 4.3.8 php it's working greatly... :-\
No, not "header()".
When PHP open page, it see "<!-- ... -->", and construct default header, and after that you try to construct you own header, when it's already exists. =)
Delete "<!-- ... -->" or write after "header()" your comment and all bee good. =)
Dmytro is offline  
Old 04.11.2006, 18:55   #37
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

I solved the header error by just putting it that way:

Code:
<?php header('Content-type: text/html; charset=windows-1251');
include("functions.php");IpSecurity($_SERVER['REMOTE_ADDR']);$i=1;?>
<title>...</title
<!-- ... -->
m4rk is offline  
Old 04.11.2006, 20:25   #38
mastery
Архивный участник
 
Join Date: Feb 2005
Posts: 159
Default

hm.. it works only on internet explorer... i was trying on firefox )...
can u add to function to reset all skills then vhanging class, and checkbox to set_skill_all command, it will be very nice...
one thing, u need to change subjob0_class row then changing class row, or user will crash on login...
anyway, thanx for your work..
mastery is offline  
Old 04.11.2006, 22:15   #39
zekillers
Архивный участник
 
Join Date: Oct 2006
Posts: 9
Default

yeah. Lets not over complicate things. I think we should remove any ajax or over complicated javascript, as it should be working with firefox.
zekillers is offline  
Old 05.11.2006, 15:08   #40
PsychoBR
Архивный участник
 
Join Date: Mar 2005
Posts: 33
Default

Hello People, i have one problem:
Quote:
Kicked: OK.
Item added: Error.
I cant add itens, its all ok, just the add item function isn't working.
Thnx for the help, cya!

EDIT: The CacheD returns error 997.
Thnx for help
PsychoBR is offline  
Old 05.11.2006, 22:34   #41
zekillers
Архивный участник
 
Join Date: Oct 2006
Posts: 9
Default

Im working with someone to add a secure login, remove all ajax, make things easier by selecting a character before being shown the features.
Also working on a design
zekillers is offline  
Old 06.11.2006, 04:52   #42
twzenit
Архивный участник
 
Join Date: Nov 2006
Posts: 15
Default

on cached:
admin sever closed (ipX.x.x.X) error 997

what is wrong with this. It seems all command dont work, but I can the index.php page and chose some options there. But when i do change name, it said char not found.
Do I must install Apache?
twzenit is offline  
Old 06.11.2006, 05:50   #43
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

twzenit: Maybe you're entering incorrect char_id in first textarea.
For taking char_id, by entering char_name - select 15 option (Get char id by char name) enter his char_name, and you will see his right char_id.
hel is offline  
Old 06.11.2006, 05:52   #44
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

Quote:
Originally Posted by zekillers View Post
Im working with someone to add a secure login, remove all ajax, make things easier by selecting a character before being shown the features.
Also working on a design
Is it for public?
hel is offline  
Old 06.11.2006, 06:18   #45
zekillers
Архивный участник
 
Join Date: Oct 2006
Posts: 9
Default

Quote:
Originally Posted by hel View Post
Is it for public?
Yes. For everyone. You should pm me your msn address, i'll keep you updated on the progress.
zekillers is offline  
Old 06.11.2006, 07:19   #46
twzenit
Архивный участник
 
Join Date: Nov 2006
Posts: 15
Default

Quote:
Originally Posted by hel View Post
twzenit: Maybe you're entering incorrect char_id in first textarea.
For taking char_id, by entering char_name - select 15 option (Get char id by char name) enter his char_name, and you will see his right char_id.
When I select the 15th option for geting char id by giving name, it does not return anything, it also does not show anything in cached.exe, the last two option is not working.

also tried to entered char id, it still show same error on cached part.
twzenit is offline  
Old 06.11.2006, 07:28   #47
twzenit
Архивный участник
 
Join Date: Nov 2006
Posts: 15
Default

btw, cached is on a seperate machine... does it make differerance?
twzenit is offline  
Old 06.11.2006, 07:34   #48
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

No...
I don't think where is your problem...
Maybe $_POST[] not working on your php...
hel is offline  
Old 06.11.2006, 07:56   #49
twzenit
Архивный участник
 
Join Date: Nov 2006
Posts: 15
Default

$_Post should work since when I do check status at 1st option, it reply red word, the char is not online. but it actually online, the problem is the cached showed a error with 997... and when I try to get char_id by use char_name, the option does go to a white page after I hit go. Then, I look at cached, there is no any message that shows the command is send to cached, or it maynot check it from cached?
twzenit is offline  
Old 06.11.2006, 08:50   #50
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

Quote:
Originally Posted by twzenit View Post
the problem is the cached showed a error with 997...
It's normal...
hel is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 15:14.