Thread Closed 
 
Thread Rating:
  • 9 Vote(s) - 2.78 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Request] Script Ress Error
Author Message
vaitomanocu Offline
Goblin Grave Robber
*

Posts: 16
Joined: Jul 2012
Reputation: 2
Version: 1.4.1.127
Post: #1
[Request] Script Ress Error
Hey guys.. Lets me ask something.. I edit script with nicks and ID but when i on script i recive this msg:

ress.lua: No matching overload found, candidates:
User* GetYserByName(custom [class
std::basic_stringstd::char_traits,class std:: allocator
>]const&)

Script:

CharName1 = "Char1"; -- Char Name who must Be Ressed
CharName2 = "Char2"; -- Char Name who must Be Ressed
CharName3 = "Char3"; -- Char Name who must Be Ressed
ResSkillId = 11564; -- Ress Skill ID u want use
------------------------------------------
ResSkill = GetSkills():FindById(ResSkillId);

function WhoToRes(nick)
if(GetUserByName(nick):IsAlikeDeath() == true)and
(ResSkill ~= nil) and
(ResSkill:CanBeUsed()) then
Target(nick);
Sleep(500);
UseSkillRaw(ResSkillId, false, false);
Sleep(500);
ClearTargets();
Sleep(500);
end;
Sleep(500);
end;

repeat
WhoToRes(CharName1);
Sleep(500);
WhoToRes(CharName2);
Sleep(500);
WhoToRes(CharName3);
Sleep(500);
WhoToRes(CharName4);
Sleep(500);
WhoToRes(CharName5);
Sleep(500);
until false;

Someone can tell me what i need to do?

Ty a lot.

Ps: Yes, I used the "search" and found topics related to this subject, but I am a layman in this matter on scripts.

Even so, I edited the way it was being asked. But the error continues.
The script works, the ress work, but not for the message to appear.

Sry for my english xD
10-13-2012 15:51 PM
Find all posts by this user
TheBl4ckPhoenix Offline
(^.^)
****

Posts: 1,886
Joined: Mar 2012
Reputation: 592
Version: 1.4.3.143
Post: #2
RE: [Request] Script Ress Error
(10-13-2012 15:51 PM)vaitomanocu Wrote:  Hey guys.. Lets me ask something.. I edit script with nicks and ID but when i on script i recive this msg:

ress.lua: No matching overload found, candidates:
User* GetYserByName(custom [class
std::basic_stringstd::char_traits,class std:: allocator
>]const&)

Script:

CharName1 = "Char1"; -- Char Name who must Be Ressed
CharName2 = "Char2"; -- Char Name who must Be Ressed
CharName3 = "Char3"; -- Char Name who must Be Ressed
ResSkillId = 11564; -- Ress Skill ID u want use
------------------------------------------
ResSkill = GetSkills():FindById(ResSkillId);

function WhoToRes(nick)
if(GetUserByName(nick):IsAlikeDeath() == true)and
(ResSkill ~= nil) and
(ResSkill:CanBeUsed()) then
Target(nick);
Sleep(500);
UseSkillRaw(ResSkillId, false, false);
Sleep(500);
ClearTargets();
Sleep(500);
end;
Sleep(500);
end;

repeat
WhoToRes(CharName1);
Sleep(500);
WhoToRes(CharName2);
Sleep(500);
WhoToRes(CharName3);
Sleep(500);
WhoToRes(CharName4);
Sleep(500);
WhoToRes(CharName5);
Sleep(500);
until false;

Someone can tell me what i need to do?

Ty a lot.

Ps: Yes, I used the "search" and found topics related to this subject, but I am a layman in this matter on scripts.

Even so, I edited the way it was being asked. But the error continues.
The script works, the ress work, but not for the message to appear.

Sry for my english xD

Maybe next time read all the pages instead of use the first script you found without read the nexts........... Right yesterday night i posted a new version of that script in the same page.
10-13-2012 15:56 PM
Find all posts by this user
vaitomanocu Offline
Goblin Grave Robber
*

Posts: 16
Joined: Jul 2012
Reputation: 2
Version: 1.4.1.127
Post: #3
RE: [Request] Script Ress Error
Ok, i'll waiting for u.

ty
10-13-2012 18:02 PM
Find all posts by this user
NaoJogoMais Offline
I'm Watching You!
**

Posts: 924
Joined: Oct 2012
Reputation: 194
Version: 1.4.2.132
Post: #4
RE: [Request] Script Ress Error
I need this "request" too.

.


[ RETIRED ]
...from retail!



[Image: 201628.png]
10-13-2012 18:14 PM
Find all posts by this user
TheBl4ckPhoenix Offline
(^.^)
****

Posts: 1,886
Joined: Mar 2012
Reputation: 592
Version: 1.4.3.143
Post: #5
RE: [Request] Script Ress Error
(10-13-2012 18:02 PM)vaitomanocu Wrote:  Ok, i'll waiting for u.

ty

??????????? i postED the script YESTERDAY NIGHT, it is already there!
10-13-2012 18:23 PM
Find all posts by this user
NaoJogoMais Offline
I'm Watching You!
**

Posts: 924
Joined: Oct 2012
Reputation: 194
Version: 1.4.2.132
Post: #6
RE: [Request] Script Ress Error
(10-13-2012 18:02 PM)vaitomanocu Wrote:  Ok, i'll waiting for u.

ty

(10-13-2012 01:33 AM)TheBl4ckPhoenix Wrote:  Enjoy

    LUA Programming
CharName1 = ""; -- Char Name who must Be Ressed
CharName2 = "";
CharName3 = ""; 
CharName4 = ""; 
CharName5 = ""; 
CharName6 = ""; 
 
ResSkillId = ""; -- Ress Skill ID u want use >>>>>>>>>>>>(without "")<<<<<<<<<<<<
------------------------------------------
ResSkill = GetSkills():FindById(ResSkillId);
 
repeat
	local TheChosenOne = GetUserByName(CharName1); 
	local TheChosenOne = GetUserByName(CharName2);
	local TheChosenOne = GetUserByName(CharName3);
	local TheChosenOne = GetUserByName(CharName4);
	local TheChosenOne = GetUserByName(CharName5);
	local TheChosenOne = GetUserByName(CharName6);
 
if (TheChosenOne ~= nil) and 
 (TheChosenOne:IsAlikeDeath() == true) and
 (ResSkill ~= nil) and
 (ResSkill:CanBeUsed() == true) then
Sleep(1000);
	Target(TheChosenOne);
Sleep(1500);
 UseSkillRaw(ResSkillId, false, false); 
Sleep(800);
 ClearTargets();
Sleep(800);
end;
Sleep(500);
until false;



Test and tell us if work.

.


[ RETIRED ]
...from retail!



[Image: 201628.png]
10-14-2012 03:28 AM
Find all posts by this user
NaoJogoMais Offline
I'm Watching You!
**

Posts: 924
Joined: Oct 2012
Reputation: 194
Version: 1.4.2.132
Post: #7
Thumbs Up RE: [Request] Script Ress Error
100% Work.

Ty.

.


[ RETIRED ]
...from retail!



[Image: 201628.png]
10-14-2012 17:35 PM
Find all posts by this user
TheBl4ckPhoenix Offline
(^.^)
****

Posts: 1,886
Joined: Mar 2012
Reputation: 592
Version: 1.4.3.143
Post: #8
RE: [Request] Script Ress Error
eh.

(10-14-2012 17:36 PM)TheBl4ckPhoenix Wrote:  eh.
waiting for ++++
(This post was last modified: 10-14-2012 17:37 PM by TheBl4ckPhoenix.)
10-14-2012 17:36 PM
Find all posts by this user
NaoJogoMais Offline
I'm Watching You!
**

Posts: 924
Joined: Oct 2012
Reputation: 194
Version: 1.4.2.132
Post: #9
RE: [Request] Script Ress Error
i cant do it two times.

.


[ RETIRED ]
...from retail!



[Image: 201628.png]
10-14-2012 17:58 PM
Find all posts by this user
MarleyTorquato Offline
Amber Basilisk
*

Posts: 33
Joined: Oct 2011
Reputation: 0
Version: 1.4.1.102
Post: #10
RE: [Request] Script Ress Error
Guys I tested and it works smoth grats for that... But the problem its only ress the Char NÂș6... I already tested in different chars... And type Correctly the names... Can you tell if that's only failling with me?
10-29-2012 22:22 PM
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Request] L2 Toxic Anti-Bot Script snocrew 18 4,337 02-11-2017 19:19 PM
Last Post: Paralyzer
  Problem... Critical error [c6 server] Nasif 2 856 10-18-2016 13:48 PM
Last Post: Verb
  Cheat or RAM error... kresko 1 626 07-28-2016 13:03 PM
Last Post: Hebdzik
  error during l2tower startup: hresult:0x8007007E zygis12312 1 580 07-07-2016 09:24 AM
Last Post: Snakers
  critical error thegust 1 453 06-15-2016 10:32 AM
Last Post: buzika
Information ERROR AT NA OFFICIAL SERVER(ZAKEN) Caaioc 2 1,053 12-02-2015 22:42 PM
Last Post: likeorange
  /xcfg filter option error rampage186 6 636 12-02-2015 21:21 PM
Last Post: rampage186
  Launcher Error tanksz 1 520 11-26-2015 13:13 PM
Last Post: exterminadorbr2
Heart Error pls help! zygimantasm5 3 453 11-15-2015 15:01 PM
Last Post: Fox
  Problems loading tower error listed Nikon187 17 7,069 10-06-2015 16:02 PM
Last Post: Natalia23



User(s) browsing this thread: 1 Guest(s)