PDA

View Full Version : Chartfx??


Sauron
25.03.2005, 19:09
i wonder if anyone has the serverPerform graphic working? coz i get "fail to download license"...that means i've to crack chartfx someway that dunno which one is.

thx in advance ^^

fitz_roy
25.03.2005, 19:21
which brings up the question, is there an english guide for l2admin available anywhere?

Sauron
25.03.2005, 20:19
i'll upload it to my host coz i can't attach it since my account doesn't have enough attachment space :S

btw credits are inside


http://www.gamersx.com.ar/l2/l2admin_guide.rar

fitz_roy
25.03.2005, 20:27
Thank you very much. :)

fitz_roy
25.03.2005, 22:50
:evil: somehow i cant get it to work...

Has any of you succesfully used l2admin under windows 2003 ?

Sauron
25.03.2005, 22:58
me :P

fitz_roy
25.03.2005, 23:42
:roll:

some help maybe? I know there is a secret somewhere...

Sauron
25.03.2005, 23:58
but tell me what error are u getting?

just follow the guide...

fitz_roy
26.03.2005, 00:13
I am following the guide... step by step :cry:

Thats the error i am getting:

Server Error in '/L2Admin' Application.
--------------------------------------------------------------------------------

Access is denied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[UnauthorizedAccessException: Access is denied.]
NCsoft.L2Admin.DB.SqlObject.ExecuteQuery(Int32 page, Int32 rowsPerPage) +49
NCsoft.L2Admin.Admin.Data.AdminUser.Get(String id, Boolean isDeleted) +93
NCsoft.L2Admin.Admin.Business.AdminUserBL.IsValidU ser(String userId, String password) +13
NCsoft.L2Admin.Web.Login.ProcessRequest() +74
NCsoft.L2Admin.Web.Login.Page_Load(Object sender, EventArgs e) +44
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.43xx.xx32; ASP.NET Version:1.1.43xx.xx32


Any ideas?

Sauron
26.03.2005, 01:40
add anywhere in web.config ur server user/pass

<identity impersonate="true" userName=" " password=" " />

then u may have another error like this

Exception: SQL ERROR World[0] DBType[ADMIN] Page[1] Rows[1] SQL[SELECT
id, name, password, email, team_id, grade, is_deleted
FROM tbl_admin_user
WHERE id = N'admin'
AND is_deleted = N'N']]

to solve it you have to give asp.net permission for reading. So go to regedit > ncsoft > right click > permission
then make users have full access to it and permission to child object

fitz_roy
26.03.2005, 01:52
already did that.
after fooling around with the web.config file i got it to load somehow.
But...everything is unreadable! Is it how it's supposed to be?

Grrrr...Why the hell is the page in Korean? lol

EDIT: I fixed it. I guess i shouldnt be doing that stuff at 5am...

fitz_roy
26.03.2005, 02:56
well that just half of it.
None of the queries work. I always get an SQL error message... For everything!

I read that it has to do with the chartfx version needed? Does anyone have the chartfx version that works correctly with l2admin?

Sauron
26.03.2005, 06:17
http://www.softwarefx.com/SFXTrial/Trial_downloads.aspx?ProductId=CfxInternet

fitz_roy
26.03.2005, 10:35
well, that's where i got mine from originally....
:shock:

So you have everything in l2admin working but the statistics?

Sauron
26.03.2005, 14:44
yep and the graphics to

fitz_roy
27.03.2005, 11:32
grrr this is driving mad!

this is the error i am getting whenever i try to make a query through L2admin


An unexpected error has occurred on this page. The system administrators have been notified. Please feel free to contact us with the information surrounding this error.
The error occurred in: http://xx.xxx.xxx.xxx/L2Admin/Item/ListItem.aspx
Error Message: SQL ERROR

--------------------------------------------------------------------------------
Stack Trace:

NCsoft.L2Admin.L2AdminException: SQL ERROR ---> System.Exception: SQL ERROR World[0] DBType[WORLD] Page[1] Rows[100] SQL[SELECT TOP 100
i.item_id, i.char_id, i.item_type, i.amount, i.enchant, i.eroded,
i.bless, i.ident, i.wished, i.warehouse,
d.char_name
FROM user_item i (nolock), user_data d (nolock)
WHERE i.char_id IN (SELECT char_id from user_data (nolock) WHERE account_name = N'johndoe')
AND d.char_id = i.char_id
AND d.account_id > 0]
--- End of inner exception stack trace ---
at NCsoft.L2Admin.DB.L2ATLDB.ExecuteQuery(Int32 worldId, DBType dbType, String sql, Int32 page, Int32 rowsPerPage)
at NCsoft.L2Admin.DB.SqlObject.ExecuteQuery(Int32 page, Int32 rowsPerPage)
at NCsoft.L2Admin.Items.Data.UserItem.ListByAccountNa me(Int32 page, Int32 rows, String accountName)
at NCsoft.L2Admin.Items.Business.UserItemBL.ListItemB yAccountName(Int32 page, Int32 rows, String accountName)
at NCsoft.L2Admin.Web.Item.ListItem.GetItemList()
at NCsoft.L2Admin.Web.Item.ListItem.BindItemList()
at NCsoft.L2Admin.Web.Item.ListItem.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain()


Any ideas guys?

Digital
27.03.2005, 13:30
ok... here we go

总结一:

提示错误:
分析器错误信息: 在应用程序级别以外使用注册为 allowDefinition=''MachineToApplication'' 的节是错误的。导致该错误的原因可èƒ ½是在 IIS 中没有将虚拟目录作为应用程序进行é… �置。
或
未能加载类型“.........”。

解决办法:设置程序目录为虚拟目录

总结二:
记得全部用GAMMA这个用户和密码,至于ä½  们如果是采用别人的数据库还原的,而 在某些库里面因为是采用GAMMA建立的表 ,所以导致无法删除这个用户新建立,所 以需要先把GAMMA建立的表先导出为SQL脚 本,然后删除GAMMA建立的表,编辑导出的S QL脚本,替换GAMMA为DBO,然后在"安全性"里新建立GAMMA帐号和密码.设置好访问çš „数据库.

总结三:
在建立LIN2ADMIN时先不急于清理默认管ç� †帐号用来测试,测试帐号为"ADMIN",密码为"PASS".

总结四:
能登陆进去,可进去后出现:

SQL ERROR World[0] DBType[ADMIN] Page[1] Rows[1] SQL[SELECT id, name, password, email, team_id, grade, is_deleted FROM tbl_admin_user WHERE id = N'sa' AND is_deleted = N'N']
说明: 执行当前 Web 请求期间,出现未处理的异常。请检æŸ ¥堆栈跟踪信息,以了解有关该错误以å �Š代码中导致错误的出处的详细信息。

异常详细信息: System.Exception: SQL ERROR World[0] DBType[ADMIN] Page[1] Rows[1] SQL[SELECT id, name, password, email, team_id, grade, is_deleted FROM tbl_admin_user WHERE id = N'sa' AND is_deleted = N'N']

源错误:

执行当前 Web 请求期间生成了未处理的异常。可以ä½ ¿用下面的异常堆栈跟踪信息确定有关å ¼‚常原因和发生位置的信息。

堆栈跟踪:


[Exception: SQL ERROR World[0] DBType[ADMIN] Page[1] Rows[1] SQL[SELECT
id, name, password, email, team_id, grade, is_deleted
FROM tbl_admin_user
WHERE id = N'sa'
AND is_deleted = N'N']]

[L2AdminException: SQL ERROR]
NCsoft.L2Admin.DB.L2ATLDB.ExecuteQuery(Int32 worldId, DBType dbType, String sql, Int32 page, Int32 rowsPerPage) +885
NCsoft.L2Admin.DB.SqlObject.ExecuteQuery(Int32 page, Int32 rowsPerPage) +120
NCsoft.L2Admin.Admin.Data.AdminUser.Get(String id, Boolean isDeleted) +93
NCsoft.L2Admin.Admin.Business.AdminUserBL.IsValidU ser(String userId, String password) +13
NCsoft.L2Admin.Web.Login.ProcessRequest() +74
NCsoft.L2Admin.Web.Login.Page_Load(Object sender, EventArgs e) +45
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750

出现错误是因为你的Web.config里面填写ç š„帐号和密码不对或者不是GAMMA造成的.

Digital
27.03.2005, 13:34
為什麼l2admin統計不能正常運作?

是因為在lin2report沒有正常的作成logfile ,原因是default setting 停用了的它功
. 以下的想法可能有錯:
lin2report的自動生成原來不是在logd.exeè¨ ­的,因為找了很久也找不到
可能是在lsever.ini中
[Report]
Interval=10 ;minute
如果你的電腦性能不大好,就把它設改ä ¸€下.
以下也是推測它的運作方法是
lserver.exe -> lin2report 中的 dbo.linMakeReport 再excute
dbo.lin_ProcessLog

因為dbo.lin_processlog沒有在lin2report.作成 dailylog
所以要把"dbo.linMakeReport" 改一下
改前千萬不要忘記backup

在lin2report中打開了dbo.linMakeReport你會çœ ‹到
ALTER PROCEDURE [DBO].[lin_MakeReport]
/*
@report_date datetime ,
@report_world int = 1
*/
AS
SET NOCOUNT ON

declare @report_date datetime
declare @report_world tinyint

SET @report_date = dateadd(d, -1, getdate())
SET @report_world = 1


exec lin_ProcessLog @report_date, @report_world

把這句
exec lin_ProcessLog @report_date, @report_world

改為exec lin_ProcessLog2 @report_date, @report_world
之後執行


它會在lin2report生成很多的table
我的server只有一個人login沒有開npc.便è¦ �花6分鐘時間.
而且花了很多硬碟空間

以上是手動生成列表的方法
在lin2report中有了這些列表,l2admin的統è¨ ˆ便能正常運作


後話:
如果把改為 exec lin_ProcessLog3 @report_date, @report_world
或是 exec lin_ProcessLogNew @report_date, @report_world
會有很多bug. 因為學習sql script只有 二天,還不能debug
希望有高手出來相助 lin_ProcessLog3和 lin_ProcessLogNew有什麼問題

Digital
27.03.2005, 13:38
打开注册表编辑器
找到
HKEY_LOCAL_MACHINE/SOFTWARE/NCSoft/L2ATL/Parameters

找到如上图的一些主键

如果你想添加第二个服务器,就按照è“ �色框区域键名新建第二个服务器的设ç ½®。

比如添加
W_1_CALLNAME
W_1_CHECKSVR
....
W_1_WORLDNO

如果添加第三个服务器,主键名就是ç± »似
W_2_CALLNAME
W_2_CHECKSVR
....
W_2_WORLDNO

依次类推。
添加并设置好值后,不要忘了重新启åŠ ¨L2atl组件
就是依次点击“开始”>>程序>>管理工具>>组件服务
接着依次打开"组件服务">>计算机>>我的电脑>>COM+ 应用程序
这个时候就可以看到先前安装L2admin时é …�置的L2atl组件了,右键点击它选择"关闭",然后再"启动"。
OK,设置完成!

fitz_roy
27.03.2005, 18:52
still getting the same error...

anybody? please?

spoter
30.03.2005, 19:43
still getting the same error...

anybody? please?
he-he...
regedit ->
HKEY_LOCAL_MACHINE/SOFTWARE/NCSoft/ ->
Right click mouse, select permisions(разрешения)-> select add(добавить)-> ASP.NET

AND ALL be WORK.. $-) Congrat..!!!