[Launcher] Hướng dẫn, thảo luận và bộ sưu tập Launcher cho Counter Strike 1.6

  • Thread starter Thread starter Orpheus
  • Ngày gửi Ngày gửi
Status
Không mở trả lời sau này.
đúng đấy, mà amxx khó hok hơn.
launcher thì dể hok.
ai có tài liệu hok amxx ko :8cool_cry:

launcher cũng không dễ học hơn bao nhiêu là mấy đâu, nhìn cái launcher của Hc hay ngocvinh là biết :D, đều phải tư duy đầu óc hết, nhất là viết plugins, amxx chỉ khó về khoản tư duy giải thuật thôi. Ai đam mê gì thỳ học cái đó cho lành, khó mấy rồi cũng sẽ qua thôy:D. Tính đến giờ cả amxx + plugins tôi chỉ biết viết những app nho nhỏ:9cool_too_sad:, chả giỏi cái gì sất:3cool_shame:
 
launcher cũng không dễ học hơn bao nhiêu là mấy đâu, nhìn cái launcher của Hc hay ngocvinh là biết :D, đều phải tư duy đầu óc hết, nhất là viết plugins, amxx chỉ khó về khoản tư duy giải thuật thôi. Ai đam mê gì thỳ học cái đó cho lành, khó mấy rồi cũng sẽ qua thôy:D. Tính đến giờ cả amxx + plugins tôi chỉ biết viết những app nho nhỏ:9cool_too_sad:, chả giỏi cái gì sất:3cool_shame:
Ựa !
Thế ai có cái Pass của JLR Plugins 1.7.5.0 không ! Dơnload không có pass thì :(
 
@wow: thự pass này sem
JD3T2QH36RX7W2W7R3XTDVRPQ
Chúc thành công, nhớ +rep ;))
 
Riêng tôi thì thấy Launcher và Amxx là 2 lĩnh vực khác nhau và rõ ràng là AMxx khó hơn NHIỀU..... (Ko biết có phải nhờ Vinh giúp đỡ lúc mới học mà tui thấy vậy ko) :D

+ Launcher chỉ là 1 phần của Lập Trình (Autoit hay AMS...) và nó không yêu cầu bạn phải biết có nhiều function (hàm) vì chủ yếu là tạo Gui là lấy sự kiện nút ấn
Bạn chi cần biết khoảng 50 func và các cấu trúc cơ bản (Như Autoit thì Help File rất kĩ lưỡng.... Mỗi func đều có ví dụ chi tiết) Thêm 1 vài giờ nghĩ và rút ngắn thuật là được (Ví dụ Cái Gui Server lúc mới học mình tạo gui và dùng switch từ đầu -> cuối mất 500 dòng. Sau này mình dòng for chỉ hết 100 dòng :D )

5k Line : (gồm cả giả lập Online : server, kênh, phòng, Bot)
[YOUTUBE]K9WGdO0RQ1c&feature=1[/YOUTUBE]


+ Đối với Amxx nếu chỉ với 50 func trong tay bạn rất khó có thể làm 1 plugin như ý (nói thật là RẤT KHÓ) ... Hơn nữa amxx chỉ giải thuật thôi, ko có vụ tạo GUI sẵn như Launcher :D
Và thuật toán bạn phải làm cho 32 player trong server nên nhiều cái mất khá nhiều thời gian (ví dụ như cái tạo số lượng KILL trong CF ... mấy cái bên dưới ấy : headshot, 10 kil... bạn sẽ làm thế nào? Riêng tui thì phải delay 30 phút mới ra ...hì ) với cả nó chả có example kĩ đâu... ví dụ bạn tìm thấy 1 hàm nào đó mà bạn nghĩ sẽ dòng được thì bạn phải viết vào sma -> complie -> vào game... test (khá lâu vs máy cùi như tui)
 
Chỉnh sửa cuối:
Riêng tôi thì thấy Launcher và Amxx là 2 lĩnh vực khác nhau và rõ ràng là AMxx khó hơn NHIỀU..... (Ko biết có phải nhờ Vinh giúp đỡ lúc mới học mà tui thấy vậy ko) :D

+ Launcher chỉ là 1 phần của Lập Trình (Autoit hay AMS...) và nó không yêu cầu bạn phải biết có nhiều function (hàm) vì chủ yếu là tạo Gui là lấy sự kiện nút ấn
Bạn chi cần biết khoảng 50 func và các cấu trúc cơ bản (Như Autoit thì Help File rất kĩ lưỡng.... Mỗi func đều có ví dụ chi tiết) Thêm 1 vài giờ nghĩ và rút ngắn thuật là được (Ví dụ Cái Gui Server lúc mới học mình tạo gui và dùng switch từ đầu -> cuối mất 500 dòng. Sau này mình dòng for chỉ hết 100 dòng :D )

5k Line : (gồm cả giả lập Online : server, kênh, phòng, Bot)
[YOUTUBE]K9WGdO0RQ1c&feature=1[/YOUTUBE


+ Đối với Amxx nếu chỉ với 50 func trong tay bạn rất khó có thể làm 1 plugin như ý (nói thật là RẤT KHÓ) ... Hơn nữa amxx chỉ giải thuật thôi, ko có vụ tạo GUI sẵn như Launcher :D
Và thuật toán bạn phải làm cho 32 player trong server nên nhiều cái mất khá nhiều thời gian (ví dụ như cái tạo số lượng KILL trong CF ... mấy cái bên dưới ấy : headshot, 10 kil... bạn sẽ làm thế nào? Riêng tui thì phải delay 30 phút mới ra ...hì ) với cả nó chả có example kĩ đâu... ví dụ bạn tìm thấy 1 hàm nào đó mà bạn nghĩ sẽ dòng được thì bạn phải viết vào sma -> complie -> vào game... test (khá lâu vs máy cùi như tui)

*face palm với cái ý kiến này :|

File APZ của tập tin Laungher_1 của bạn ý ! Quên không nói ở trên !
Mà theo bạn nói mình đã động não suy nghĩ !:cuteonion54:
Học và đọc về maunal rồi :cuteonion44:
Và còn về cả cái Ì For While Nữa nhưng bạn vẫn chả hướng dẫn mình cái ấy ấy ở trên kia kìa ! :cuteonion51:
Hự hự !:cuteonion24:

À quên ! Cái Pass của cái JLR Plugin 1.7.5.0 là gì zợ ! Mnhf có nhớ lần trước tải rồi nhưng cứ tưởng là bản cũ và còn ko biết pass nên exit luôn !:8cool_tire:
Mình đã thử các pass : jlr, JLR, nghethihieu


Control Structures
The scripting engine supports the following control structures: if, while, repeat and for.

If
An if statement evaluates its condition and then only executes the “then” part if the condition is true. An if statement is terminated by the “end” keyword. The basic syntax is:

PHP:
if condition then
       do something here
end

For example:

PHP:
x = 50;
if x > 10 then
     Dialog.Message("result", "x is greater than 10");
end

PHP:
y = 3;
if ((35 * y) < 100) then
     Dialog.Message("", "y times 35 is less than 100");
end

In the above script, only the first dialog message would be shown, because the second if condition isn't true...35 times 3 is 105, and 105 is not less than 100.

You can also use else and elseif to add more “branches” to the if statement:

PHP:
x = 5;
if x > 10 then
     Dialog.Message("", "x is greater than 10");
else
     Dialog.Message("", "x is less than or equal to 10");
end

In the preceding example, the second dialog message would be shown, because 5 is not greater than 10.

PHP:
x = 5;
if x == 10 then
    Dialog.Message("", "x is exactly 10");
elseif x == 11 then
     Dialog.Message("", "x is exactly 11");
elseif x == 12 then
     Dialog.Message("", "x is exactly 12");
else
     Dialog.Message("", "x is not 10, 11 or 12");
end

In that example, the last dialog message would be shown, because x is not equal to 10, or 11, or 12.​

While
The while statement is used to execute the same "block" of script over and over until a condition is met. Like if statements, while statements are terminated with the “end” keyword. The basic syntax is:

PHP:
while condition do
     do something here
end

The condition must be true in order for the actions inside the while statement (the “do something here” part above) to be performed. The while statement will continue to loop as long as this condition is true. Here's how it works:

If the condition is true, all of the actions between the “while” and the corresponding “end” will be performed. When the “end” is reached, the condition will be reevaluated, and if it's still true, the actions between the “while” and the “end” will be performed again. The actions will continue to loop like this until the condition evaluates to false.

For example:

PHP:
a = 1;
while a < 10 do
    a = a + 1;
end

In the preceding example, the “a = a + 1;” line would be performed 9 times.

You can break out of a while loop at any time using the “break” keyword. For example:

PHP:
count = 1;
while count < 100 do
    count = count + 1;
    if count == 50 then
        break;
    end
end

Although the while statement is willing to count from 1 to 99, the if statement would cause this loop to terminate as soon as count reached 50.​

Repeat
The repeat statement is similar to the while statement, except that the condition is checked at the end of the structure instead of at the beginning. The basic syntax is:

PHP:
repeat
     do something here
until condition

For example:

PHP:
i = 1;
repeat
     i = i + 1;
until i > 10

This is similar to one of the while loops above, but this time, the loop is performed 10 times. The “i = i + 1;” part gets executed before the condition determines that a is now larger than 10.

You can break out of a repeat loop at any time using the “break” keyword. For example:
PHP:
count = 1;
repeat
    count = count + 1;
    if count == 50 then
        break;
    end
until count > 100

Once again, this would exit from the loop as soon as count was equal to 50.​

For
The for statement is used to repeat a block of script a specific number of times. The basic syntax is:
PHP:
for variable = start,end,step do
     do something here
end

The variable can be named anything you want. It is used to “count” the number of trips through the for loop. It begins at the start value you specify, and then changes by the amount in step after each trip through the loop. In other words, the step gets added to the value in the variable after the lines between the for and end are performed. If the result is smaller than or equal to the end value, the loop continues from the beginning.

For example:
PHP:
-- This loop counts from 1 to 10:
for x = 1, 10 do
     Dialog.Message("Number", x);
end

The above example displays 10 dialog messages in a row, counting from 1 to 10.
Note that the step is optional—if you don’t provide a value for the step, it defaults to 1.

Here’s an example that uses a step of “-1” to make the for loop count backwards:

PHP:
-- This loop counts from 10 down to 1:
for x = 10, 1, -1 do
     Dialog.Message("Number", x);
end

That example would display 10 dialog messages in a row, counting back from 10 and going all the way down to 1.

You can break out of a for loop at any time using the “break” keyword. For example:

PHP:
for i = 1, 100 do
    if count == 50 then
        break;
    end
end

Once again, this would exit from the loop as soon as count was equal to 50.​

. .

Using For to Enumerate Tables
There is a special version of the for statement that allows you to quickly and easily enumerate the contents of an array. The syntax is:

PHP:
for index,value in pairs (table) do
     operate on index and value
end

For example:

PHP:
mytable = {"One","Two","Three"};

-- display a message for every table item
for j,k in pairs(mytable) do
     Dialog.Message("Table Item", j .. "=" .. k);
end

Remember the above for statement, because it is a quick and easy way to inspect the values in a table. If you just want the indexes of a table, you can leave out the value part of the for statement:

PHP:
a = {One=1,Two=2,Three=3};

for k in pairs(a) do
     Dialog.Message("Table Index",k);
end

The above script will display three message boxes in a row, with the text “One,” “Three,” and then “Two.”

Whoa there—why aren’t the table elements in order? The reason for this is that internally the scripting engine doesn't store tables as arrays, but in a super-efficient structure known as a hash table. (Don’t worry, I get confused about hash tables too.) The important thing to know is that when you define table elements, they are not necessarily stored in the order that you define or add them, unless you use a numeric array (i.e. a table indexed with numbers from 1 to whatever).
f0a405dfcbd508cb4a07.gif
f0a405dfcbd508cb4a07.gif
f0a405dfcbd508cb4a07.gif
 
Chỉnh sửa cuối:
toàn tiếng tây =)) có việtsub không :)) e rằng hơi bị khoai thị sắn vs những người kém engsub
 
toàn tiếng tây =)) có việtsub không :)) e rằng hơi bị khoai thị sắn vs những người kém engsub

copy examp rồi chạy thôi cũng đủ hiểu mà :3cool_shame:. cần j đọc
f0a405dfcbd508cb4a07.gif
 
copy examp rồi chạy thôi cũng đủ hiểu mà :3cool_shame:. cần j đọc
f0a405dfcbd508cb4a07.gif
y chang tui hồi đó :-j học khổ cái là chẳng có tư liệu, cũng may cái help file tiếng anh trình bày dễ hiểu, đọc xíu copy vô f5 chạy thử
 
y chang tui hồi đó :-j học khổ cái là chẳng có tư liệu, cũng may cái help file tiếng anh trình bày dễ hiểu, đọc xíu copy vô f5 chạy thử

ban đầu ai chả thế :3cool_shame:
 
@wow: thự pass này sem
JD3T2QH36RX7W2W7R3XTDVRPQ
Chúc thành công, nhớ +rep ;))

toàn tiếng tây =)) có việtsub không :)) e rằng hơi bị khoai thị sắn vs những người kém engsub
:D Mình cũng không kém engsub mấy ! Nếu bí từ gì thì cũng lên translate thôi ! VỚi cả cái Pass Download JLR 1.7.5.0 trên kia wrong rồi ! Mình + rep rồi đấy nhá !
 
Không có ai cho mình cái pass JLR Plugin 1.7.5.0 à :8cool_cry:
 
Easy Launcher - 38.57KB

quà cho newbie :))........................................

trong quá trình làm có phát hiện 1 lỗi ở JLR.BotChange. sẽ update bản mới. ai cần thì pm mình lại nhé :)
 
Chỉnh sửa cuối:
sao bác không share thẳng lên đây luôn cho tiện :5cool_still_dreamin
 
sao mấy cai launcher của CSO đều die hết rồi vậy
 
có anh nào con giử JLR_Configs Plugins v1.7.5.0 cho em xin cái, em dang rất cần, co thể giúp em được không
 
Xin giới thiệu vs các bạn launcher like cf của buiducduy, mặc dù cậu ý hiện đang tạm vắng ở đây vì bận chút việc trong trại giam :6cool_beat_brick:
Launcher được Share nhằm mục đích giúp anh em thích Mod CF đang "Bí" trong việc làm Launcher ;))

Creadit: buiducduy_111
YH: [email protected]
GM: [email protected]

Link : http://www.mediafire.com/?mxvo237tuaaenru

Clip:
[YOUTUBE]SNhvPV4RO0o[/YOUTUBE]
Link Soucre: http://www.mediafire.com/?mxvo237tuaaenru
Link Resource (Full Patch exe) : http://www.mediafire.com/?5se8nqynty43ru9



sp độc quyền của buiducduy, khi đi đâu copy các bạn nên tôn trọng author và để lại cái source web + author credit
ps: ai cầm counter-strike hoặc atick post lên post 1 cho các newmem còn theo dõi
 
post kia rồi nó cũng trôi mà thôi, phải từ từ để time quyêt định tất cả :1cool_look_down:
 
Status
Không mở trả lời sau này.
Back
Top